summaryrefslogtreecommitdiff
path: root/devel/py-sip/files/patch-siputils.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-sip/files/patch-siputils.py')
-rw-r--r--devel/py-sip/files/patch-siputils.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/py-sip/files/patch-siputils.py b/devel/py-sip/files/patch-siputils.py
deleted file mode 100644
index 70061f0f4b59..000000000000
--- a/devel/py-sip/files/patch-siputils.py
+++ /dev/null
@@ -1,28 +0,0 @@
-sip 4.16.5 has switched the Makefile lines that invoke the moc utility from
-an invocation with an explicit source file name to "$<".
-
-This works with GNU make, but not make(1), where it $< evaluates to nothing
-in this context.
-
-Switch back to the previous version to avoid having to depend on devel/gmake
-(figuring out which ports need it is not trivial).
---- siputils.py
-+++ siputils.py
-@@ -1683,7 +1683,7 @@
- cpp = "moc_" + root + ".cpp"
-
- mfile.write("\n%s: %s\n" % (cpp, mf))
-- mfile.write("\t$(MOC) -o %s $<\n" % cpp)
-+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
-
- mfile.write("\n$(TARGET): $(OFILES)\n")
-
-@@ -1980,7 +1980,7 @@
- mf = os.path.join(self._src_dir, mf)
-
- mfile.write("\n%s: %s\n" % (cpp, mf))
-- mfile.write("\t$(MOC) -o %s $<\n" % cpp)
-+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
-
- mfile.write("\n$(TARGET): $(OFILES)\n")
-