[Python-modules-commits] [sip4] 02/05: Debian changes to siputils.py
Scott Kitterman
kitterman at moszumanska.debian.org
Sat Oct 24 18:25:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository sip4.
commit 31eca4c6c1ed9843a837d16760578b2d28be2265
Author: Torsten Marek <shlomme at debian.org>
Date: Thu Oct 8 13:52:11 2015 -0700
Debian changes to siputils.py
Last-Update: 2015-03-26
Patch-Name: siputils_debian_changes.diff
---
siputils.py | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/siputils.py b/siputils.py
index 28b52b2..068e114 100644
--- a/siputils.py
+++ b/siputils.py
@@ -809,7 +809,8 @@ class Makefile:
libs.extend(self.optional_list("LIBS_WINDOWS"))
- lflags.extend(self._platform_rpaths(rpaths.as_list()))
+ # Don't append any rpaths
+ #lflags.extend(self._platform_rpaths(rpaths.as_list()))
# Save the transformed values.
self.CFLAGS.set(cflags)
@@ -960,6 +961,15 @@ class Makefile:
clib is the library name in cannonical form.
framework is set of the library is implemented as a MacOS framework.
"""
+ ##################################################################
+ # Generally, the linker is intelligent enough not to need this #
+ # additional information! #
+ # And Qt4's pkg-config and prl files are broken #
+ # Changed for Debian packaging, Torsten Marek <shlomme at gmx.net> #
+ ##################################################################
+
+ return []
+
if self.generator in ("MSVC", "MSVC.NET", "MSBUILD", "BMAKE"):
prl_name = os.path.join(self.config.qt_lib_dir, clib + ".prl")
elif sys.platform == "darwin" and framework:
@@ -1682,6 +1692,9 @@ class ModuleMakefile(Makefile):
root, discard = os.path.splitext(mf)
cpp = "moc_" + root + ".cpp"
+ if self._src_dir != self.dir:
+ mf = os.path.join(self._src_dir, mf)
+
mfile.write("\n%s: %s\n" % (cpp, mf))
mfile.write("\t$(MOC) -o %s $<\n" % cpp)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sip4.git
More information about the Python-modules-commits
mailing list