summaryrefslogtreecommitdiff
path: root/mail/thunderbird
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2007-01-26 22:36:45 +0000
committerdmcmahill <dmcmahill>2007-01-26 22:36:45 +0000
commita989cc99d0a9f642eb0a42c818120c301eb53939 (patch)
tree66c91a8fab5186b13d6daba0f1cc0214a1ead4ac /mail/thunderbird
parent0c766059c37038bff1f7b972e380eaea3038fa7b (diff)
downloadpkgsrc-a989cc99d0a9f642eb0a42c818120c301eb53939.tar.gz
fix a makefile to work with the new way gmake-3.81 handles backslash-newline inside of single quotes
Diffstat (limited to 'mail/thunderbird')
-rw-r--r--mail/thunderbird/distinfo3
-rw-r--r--mail/thunderbird/patches/patch-du31
2 files changed, 33 insertions, 1 deletions
diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo
index 4c1747bfa79..f6253ba4bb4 100644
--- a/mail/thunderbird/distinfo
+++ b/mail/thunderbird/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2007/01/17 14:18:40 dmcmahill Exp $
+$NetBSD: distinfo,v 1.34 2007/01/26 22:36:45 dmcmahill Exp $
SHA1 (thunderbird-1.5.0.9-source.tar.bz2) = ff1b900861422b5c657a5302d9b1deb0601a42e2
RMD160 (thunderbird-1.5.0.9-source.tar.bz2) = d1efc6bd0585ce2222d0bc3065a4f748a2f0f635
@@ -52,3 +52,4 @@ SHA1 (patch-dm) = eb86aee54fd213eb64a89e5bc2754971db9648f4
SHA1 (patch-do) = bdb018e157dcb5ef706b69184d8b739cfd32d8c3
SHA1 (patch-ds) = 1e2e371b9ff7ab9049a947d8e0a63483a1fd244e
SHA1 (patch-dt) = 9eef43663de12721ecc38124d5bd4a90a825eefc
+SHA1 (patch-du) = d5256827efa3f2d49c20794a288842429b780eda
diff --git a/mail/thunderbird/patches/patch-du b/mail/thunderbird/patches/patch-du
new file mode 100644
index 00000000000..8c00d5eb72e
--- /dev/null
+++ b/mail/thunderbird/patches/patch-du
@@ -0,0 +1,31 @@
+$NetBSD: patch-du,v 1.1 2007/01/26 22:36:45 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
+
+ #############################################################################