summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-10 05:40:40 +0000
committerjlam <jlam@pkgsrc.org>2004-01-10 05:40:40 +0000
commit40230b8880f8aedd47773e671ed0cb34b2b17c86 (patch)
treee0c06e069345aaf87ea898b4e33859161bb87725 /pkgtools
parentc06d6b8f53aae297f4ed3a9c6eec9b014af223a6 (diff)
downloadpkgsrc-40230b8880f8aedd47773e671ed0cb34b2b17c86.tar.gz
Put the correct path to perl into the scripts. This fixes using this
package with pkgviews.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgdiff/Makefile5
-rwxr-xr-xpkgtools/pkgdiff/files/mkpatches.pl4
-rwxr-xr-xpkgtools/pkgdiff/files/patchdiff.pl4
3 files changed, 7 insertions, 6 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index dcb64c1b989..0874cd7009e 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -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 @@ INSTALLATION_DIRS+= man/man1
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 --git a/pkgtools/pkgdiff/files/mkpatches.pl b/pkgtools/pkgdiff/files/mkpatches.pl
index 400ccf2491e..b72342aafa5 100755
--- a/pkgtools/pkgdiff/files/mkpatches.pl
+++ b/pkgtools/pkgdiff/files/mkpatches.pl
@@ -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 --git a/pkgtools/pkgdiff/files/patchdiff.pl b/pkgtools/pkgdiff/files/patchdiff.pl
index e48047afce3..748780a02e7 100755
--- a/pkgtools/pkgdiff/files/patchdiff.pl
+++ b/pkgtools/pkgdiff/files/patchdiff.pl
@@ -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.