pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nss Added a patch so that the package works with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/422dc9de62e6
branches:  trunk
changeset: 515439:422dc9de62e6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 02 12:40:41 2006 +0000

description:
Added a patch so that the package works with GNU Make 3.81 again.

diffstat:

 devel/nss/distinfo         |   3 ++-
 devel/nss/patches/patch-al |  27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 6b3627718003 -r 422dc9de62e6 devel/nss/distinfo
--- a/devel/nss/distinfo        Sun Jul 02 12:36:43 2006 +0000
+++ b/devel/nss/distinfo        Sun Jul 02 12:40:41 2006 +0000
@@ -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-ai) = a68c262b67af7778024b6db350c044fe8474919e
 SHA1 (patch-aj) = 7304824888d6e611963eb125535776d07a3dcbbf
 SHA1 (patch-ak) = d1c8a7ebaf839a9ca7734a885fdfa4e091547cb5
+SHA1 (patch-al) = 3a782b1f3ee4be829cf09d6705db435bad93adfd
diff -r 6b3627718003 -r 422dc9de62e6 devel/nss/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/nss/patches/patch-al        Sun Jul 02 12:40:41 2006 +0000
@@ -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
+ 
+ #############################################################################



Home | Main Index | Thread Index | Old Index