summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-08-14 16:30:06 +0000
committerseb <seb@pkgsrc.org>2002-08-14 16:30:06 +0000
commitd0fa9b21db11efeda92a4dd77e68b0b1d1537d82 (patch)
treeaca1d6fe1bb001943227b03b4fa9289f9d5d304d /pkgtools
parent98bac6da2a92d0d5ebcaf6d04184711d9a1ffedc (diff)
downloadpkgsrc-d0fa9b21db11efeda92a4dd77e68b0b1d1537d82.tar.gz
Make patchdiff following package's PATCHDIR setting: useful when dealing with
packages sharing patch files directory. Increment the package version. Approved by wiz.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgdiff/Makefile4
-rwxr-xr-xpkgtools/pkgdiff/files/patchdiff.pl6
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 1da0ca8ddc2..d3c8d168658 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2002/04/02 10:56:47 seb Exp $
+# $NetBSD: Makefile,v 1.25 2002/08/14 16:30:06 seb Exp $
#
-DISTNAME= pkgdiff-0.105
+DISTNAME= pkgdiff-0.106
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgdiff/files/patchdiff.pl b/pkgtools/pkgdiff/files/patchdiff.pl
index 08b4f4fd912..e48047afce3 100755
--- a/pkgtools/pkgdiff/files/patchdiff.pl
+++ b/pkgtools/pkgdiff/files/patchdiff.pl
@@ -1,6 +1,6 @@
#!@PREFIX@/bin/perl
#
-# $NetBSD: patchdiff.pl,v 1.4 2001/09/14 22:40:57 wiz Exp $
+# $NetBSD: patchdiff.pl,v 1.5 2002/08/14 16:30:07 seb Exp $
#
# patchdiff: compares a set of patches patch-aa, patch-ab, ... in
# $WRKDIR/.newpatches in the with another set in patches.
@@ -63,7 +63,9 @@ EOF
%new=();
$thisdir=cwd();
chomp($thisdir);
-$oldpatchdir=$thisdir."/patches";
+$oldpatchdir=`@MAKE@ show-var VARNAME=PATCHDIR` or
+ die ("can't find PATCHDIR -- wrong dir?");
+chomp($oldpatchdir);
$wrkdir=`@MAKE@ show-var VARNAME=WRKDIR` or
die ("can't find WRKDIR -- wrong dir?");