summaryrefslogtreecommitdiff
path: root/www/firefox/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2007-01-25 15:45:19 +0000
committerdmcmahill <dmcmahill>2007-01-25 15:45:19 +0000
commitae25d923df6f40f94e10334ecf5fcb80d4d3260c (patch)
treeb82a7f30376baf3437b39767cf5369180fae2ad7 /www/firefox/patches
parent0683e3f9562b356ae25da24ca51a3129a959f23c (diff)
downloadpkgsrc-ae25d923df6f40f94e10334ecf5fcb80d4d3260c.tar.gz
fix a makefile bug related to the change in how GNU make-3.81 handles \ newline
in single quoted strings compared to version 3.80 and older
Diffstat (limited to 'www/firefox/patches')
-rw-r--r--www/firefox/patches/patch-ed31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-ed b/www/firefox/patches/patch-ed
new file mode 100644
index 00000000000..2d6b7a8ad11
--- /dev/null
+++ b/www/firefox/patches/patch-ed
@@ -0,0 +1,31 @@
+$NetBSD: patch-ed,v 1.1 2007/01/25 15:45:19 dmcmahill Exp $
+
+GNU make-3.81 changed the way \newlines are handled inside of single
+quotes. This fixes the command. Should still work on older GNU make's
+too.
+
+See https://bugzilla.mozilla.org/show_bug.cgi?id=325148
+
+--- security/coreconf/rules.mk.orig 2005-04-14 20:36:28.000000000 -0400
++++ security/coreconf/rules.mk
+@@ -885,8 +885,7 @@ endif
+
+ ifneq (,$(filter-out OpenVMS OS2 WIN%,$(OS_TARGET)))
+ # Can't use sed because of its 4000-char line length limit, so resort to perl
+-.DEFAULT:
+- @perl -e ' \
++PERL_DEPENDENCIES_PROGRAM= ' \
+ open(MD, "< $(DEPENDENCIES)"); \
+ while (<MD>) { \
+ if (m@ \.*/*$< @) { \
+@@ -914,6 +913,10 @@ ifneq (,$(filter-out OpenVMS OS2 WIN%,$(
+ print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
+ exit(1); \
+ }'
++
++.DEFAULT:
++ @perl -e ${PERL_DEPENDENCIES_PROGRAM}
++
+ endif
+
+ #############################################################################