summaryrefslogtreecommitdiff
path: root/devel/nss
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-02 12:40:41 +0000
committerrillig <rillig>2006-07-02 12:40:41 +0000
commitd5ddf700fd633f795e22246c4ad45d5072df98c9 (patch)
treee8308b151ffc97f828efd3b52f77930c0b91dc01 /devel/nss
parentaf0cf45c3a34578b54111e374ba28c6e6dd9e63d (diff)
downloadpkgsrc-d5ddf700fd633f795e22246c4ad45d5072df98c9.tar.gz
Added a patch so that the package works with GNU Make 3.81 again.
Diffstat (limited to 'devel/nss')
-rw-r--r--devel/nss/distinfo3
-rw-r--r--devel/nss/patches/patch-al27
2 files changed, 29 insertions, 1 deletions
diff --git a/devel/nss/distinfo b/devel/nss/distinfo
index acf5561e917..c4760a8b793 100644
--- a/devel/nss/distinfo
+++ b/devel/nss/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2006/06/25 15:25:35 wiz Exp $
+$NetBSD: distinfo,v 1.10 2006/07/02 12:40:41 rillig Exp $
SHA1 (nss-3.9.2.tar.gz) = 017b748d92c5f7376bda78915d1b78b260b44133
RMD160 (nss-3.9.2.tar.gz) = c9e41ac596af2e717da76546c3a5dfd37272c195
@@ -14,3 +14,4 @@ SHA1 (patch-ah) = 6c8c335d9ffe4a1dbc83a3b8defe05930d866a40
SHA1 (patch-ai) = a68c262b67af7778024b6db350c044fe8474919e
SHA1 (patch-aj) = 7304824888d6e611963eb125535776d07a3dcbbf
SHA1 (patch-ak) = d1c8a7ebaf839a9ca7734a885fdfa4e091547cb5
+SHA1 (patch-al) = 3a782b1f3ee4be829cf09d6705db435bad93adfd
diff --git a/devel/nss/patches/patch-al b/devel/nss/patches/patch-al
new file mode 100644
index 00000000000..75909d3d93c
--- /dev/null
+++ b/devel/nss/patches/patch-al
@@ -0,0 +1,27 @@
+$NetBSD: patch-al,v 1.1 2006/07/02 12:40:41 rillig Exp $
+
+Since GNU Make 3.81, the backslashes are preserved in the shell commands
+and need to be filtered out explicitly.
+
+--- ../coreconf/rules.mk.orig 2004-03-23 01:56:47.000000000 +0100
++++ ../coreconf/rules.mk 2006-06-24 10:20:21.000000000 +0200
+@@ -882,7 +882,7 @@
+ 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 ' \
++ perlcmd=' \
+ open(MD, "< $(DEPENDENCIES)"); \
+ while (<MD>) { \
+ if (m@ \.*/*$< @) { \
+@@ -909,7 +909,9 @@
+ } elsif ("$<" ne "$(DEPENDENCIES)") { \
+ print "$(MAKE): *** No rule to make target $<. Stop.\n"; \
+ exit(1); \
+- }'
++ }'; \
++ perlcmd=`echo "$$perlcmd" | sed -e 's,\\\\$$,,'`; \
++ perl -e "$$perlcmd"
+ endif
+
+ #############################################################################