summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-03-12 20:28:30 +0000
committerasau <asau@pkgsrc.org>2014-03-12 20:28:30 +0000
commitc11d1639b7f830d0e9e283c2889c577870ff6618 (patch)
tree6921c9d634cb04a4d54d706818a77951f2477d09 /pkgtools
parent600cdf2f6d85db7afe23848477ba89c80965cbc8 (diff)
downloadpkgsrc-c11d1639b7f830d0e9e283c2889c577870ff6618.tar.gz
Do not rely on path search when invoking pkgdiff.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgdiff/Makefile5
-rwxr-xr-xpkgtools/pkgdiff/files/mkpatches.pl4
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 2c050f6980e..05ac5fbdcd9 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2014/03/03 03:30:54 obache Exp $
+# $NetBSD: Makefile,v 1.83 2014/03/12 20:28:30 asau Exp $
#
-PKGNAME= pkgdiff-1.4
-PKGREVISION= 2
+PKGNAME= pkgdiff-1.5
CATEGORIES= pkgtools devel
MAINTAINER= wiz@NetBSD.org
diff --git a/pkgtools/pkgdiff/files/mkpatches.pl b/pkgtools/pkgdiff/files/mkpatches.pl
index aaf498e1b7d..645575748e8 100755
--- a/pkgtools/pkgdiff/files/mkpatches.pl
+++ b/pkgtools/pkgdiff/files/mkpatches.pl
@@ -1,6 +1,6 @@
#!@PERL5@
#
-# $NetBSD: mkpatches.pl,v 1.17 2011/06/26 12:11:39 wiz Exp $
+# $NetBSD: mkpatches.pl,v 1.18 2014/03/12 20:28:30 asau Exp $
#
# mkpatches: creates a set of patches patch-aa, patch-ab, ...
# in work/.newpatches by looking for *.orig files in and below
@@ -175,7 +175,7 @@ foreach (sort <HANDLE>) {
if ($opt_v) {
print "$patchfile -> $complete\n";
}
- $diff=`pkgdiff $old $new 2>&1`;
+ $diff=`@PREFIX@/bin/pkgdiff $old $new 2>&1`;
if ($?) {
print "$old: $diff";
}