pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkgdiff Put the correct path to perl into the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea594c295eb7
branches:  trunk
changeset: 466003:ea594c295eb7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 10 05:40:40 2004 +0000

description:
Put the correct path to perl into the scripts.  This fixes using this
package with pkgviews.

diffstat:

 pkgtools/pkgdiff/Makefile           |  5 +++--
 pkgtools/pkgdiff/files/mkpatches.pl |  4 ++--
 pkgtools/pkgdiff/files/patchdiff.pl |  4 ++--
 3 files changed, 7 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r ed7253ac98a9 -r ea594c295eb7 pkgtools/pkgdiff/Makefile
--- a/pkgtools/pkgdiff/Makefile Sat Jan 10 05:19:21 2004 +0000
+++ b/pkgtools/pkgdiff/Makefile Sat Jan 10 05:40:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2004/01/06 08:29:59 jlam Exp $
+# $NetBSD: Makefile,v 1.44 2004/01/10 05:40:40 jlam Exp $
 #
 
 DISTNAME=      pkgdiff-0.113
@@ -46,7 +46,8 @@
 
 do-build:
 .for FILE in mkpatches patchdiff
-       ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
+       ${SED}  -e 's|@PREFIX@|${PREFIX}|g'             \
+               -e 's|@PERL5@|${PERL5}|g'               \
                -e 's|@MAKE@|${MAKE}|g'                 \
                < ${FILESDIR}/${FILE}.pl                \
                > ${WRKSRC}/${FILE}
diff -r ed7253ac98a9 -r ea594c295eb7 pkgtools/pkgdiff/files/mkpatches.pl
--- a/pkgtools/pkgdiff/files/mkpatches.pl       Sat Jan 10 05:19:21 2004 +0000
+++ b/pkgtools/pkgdiff/files/mkpatches.pl       Sat Jan 10 05:40:40 2004 +0000
@@ -1,6 +1,6 @@
-#!@PREFIX@/bin/perl
+#!@PERL5@
 #
-# $NetBSD: mkpatches.pl,v 1.8 2002/11/04 23:07:37 wiz Exp $
+# $NetBSD: mkpatches.pl,v 1.9 2004/01/10 05:40:40 jlam Exp $
 #
 # mkpatches: creates a set of patches patch-aa, patch-ab, ...
 #   in work/.newpatches by looking for *.orig files in and below
diff -r ed7253ac98a9 -r ea594c295eb7 pkgtools/pkgdiff/files/patchdiff.pl
--- a/pkgtools/pkgdiff/files/patchdiff.pl       Sat Jan 10 05:19:21 2004 +0000
+++ b/pkgtools/pkgdiff/files/patchdiff.pl       Sat Jan 10 05:40:40 2004 +0000
@@ -1,6 +1,6 @@
-#!@PREFIX@/bin/perl
+#!@PERL5@
 #
-# $NetBSD: patchdiff.pl,v 1.5 2002/08/14 16:30:07 seb Exp $
+# $NetBSD: patchdiff.pl,v 1.6 2004/01/10 05:40:40 jlam Exp $
 #
 # patchdiff: compares a set of patches patch-aa, patch-ab, ... in
 #   $WRKDIR/.newpatches in the with another set in patches.



Home | Main Index | Thread Index | Old Index