diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-10 05:40:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-10 05:40:40 +0000 |
commit | 3299e0317180cfa3cc7f6d3adf8701f7f3e489ee (patch) | |
tree | e0c06e069345aaf87ea898b4e33859161bb87725 /pkgtools | |
parent | ddacd9e9afcd57935df56b06f7b29044e83bc0f5 (diff) | |
download | pkgsrc-3299e0317180cfa3cc7f6d3adf8701f7f3e489ee.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/Makefile | 5 | ||||
-rwxr-xr-x | pkgtools/pkgdiff/files/mkpatches.pl | 4 | ||||
-rwxr-xr-x | pkgtools/pkgdiff/files/patchdiff.pl | 4 |
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. |