summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-09-08 18:47:01 +0000
committerjoerg <joerg@pkgsrc.org>2015-09-08 18:47:01 +0000
commit2031d766121761287f8ba900c6dc84f9107c9720 (patch)
tree4d56822325f822cfaef036f53e906a5b010928a7 /pkgtools/pkgdiff
parente07cd46c383dfb75eaca3ec5640398031108af74 (diff)
downloadpkgsrc-2031d766121761287f8ba900c6dc84f9107c9720.tar.gz
Make it easier to override the (b)make hard-coded in mkpatches and
patchdiff. It is often useful to have tools in one prefix and reach-over patch creation with a different make and different WRKOBJDIR settings, e.g. when developing in a bulk build environment.
Diffstat (limited to 'pkgtools/pkgdiff')
-rw-r--r--pkgtools/pkgdiff/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 8036057f877..5ac9ff508bd 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2015/06/12 10:50:56 wiz Exp $
+# $NetBSD: Makefile,v 1.88 2015/09/08 18:47:01 joerg Exp $
PKGNAME= pkgdiff-1.6
PKGREVISION= 1
@@ -39,11 +39,13 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/cat1
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
.endif
+PKGDIFF_MAKE?= ${MAKE}
+
do-build:
.for f in mkpatches patchdiff
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@PERL5@|${PERL5}|g' \
- -e 's|@MAKE@|${MAKE}|g' \
+ -e 's|@MAKE@|${PKGDIFF_MAKE}|g' \
< ${FILESDIR}/${f}.pl \
> ${WRKSRC}/${f}
.endfor