diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-20 10:55:43 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-20 10:55:43 +0000 |
commit | 99e0d66756943d7b7b24b13c0a618f5107230850 (patch) | |
tree | 5bae29f507acc7c53f058f7033f6bf5182f5ff69 /pkgtools/pkglint/Makefile | |
parent | 90d634940e1803e7fd3cfe26b7251f26b8de4963 (diff) | |
download | pkgsrc-99e0d66756943d7b7b24b13c0a618f5107230850.tar.gz |
Updated lintpkgsrc to 4.43.1.
- In BATCH mode, that is for the bulk builds, hardcode PKGSRCDIR as
/usr/pkgsrc. Otherwise take ${PKGSRCDIR}.
Diffstat (limited to 'pkgtools/pkglint/Makefile')
-rw-r--r-- | pkgtools/pkglint/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 6c06fd1a51c..50d5c1091cf 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.301 2005/11/19 17:23:49 rillig Exp $ +# $NetBSD: Makefile,v 1.302 2005/11/20 10:55:43 rillig Exp $ # -DISTNAME= pkglint-4.43 +DISTNAME= pkglint-4.43.1 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty @@ -27,6 +27,11 @@ SUBST_CLASSES+= pkglint SUBST_STAGE.pkglint= post-configure SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl SUBST_FILES.pkglint+= pkglint.0 pkglint.1 pkglint.pl +.if defined(BATCH) +SUBST_SED.pkglint+= -e 's|@PKGSRCDIR@|/usr/pkgsrc|g' +.else +SUBST_SED.pkglint+= -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g' +.endif SUBST_SED.pkglint+= -e 's|@PREFIX@|${PREFIX}|g' SUBST_SED.pkglint+= -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g' SUBST_SED.pkglint+= -e 's|@MAKE@|${MAKE}|g' |