diff options
author | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
commit | 17c3aafac1aa4cacaba3e9998eacf16787dfefb4 (patch) | |
tree | 15912261de9f656cabfa82bfc7708e5e4ee1ae67 /pkgtools/pkglint | |
parent | d2eb44c14d837a993265620b7872506e7223a34f (diff) | |
download | pkgsrc-17c3aafac1aa4cacaba3e9998eacf16787dfefb4.tar.gz |
* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.
* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
than the old method of stripping off the last two components of
${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined.
* Change all references to _PKGSRCDIR to PKGSRCDIR.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 3f26c635f56..157e4dd6075 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.204 2004/09/24 15:33:26 wiz Exp $ +# $NetBSD: Makefile,v 1.205 2004/10/07 02:01:38 jlam Exp $ # DISTNAME= pkglint-3.91 @@ -22,7 +22,7 @@ NO_CHECKSUM= yes NO_CONFIGURE= yes USE_LANGUAGES= # empty -MAKE_ENV= PKGSRCDIR=${_PKGSRCDIR:Q} +MAKE_ENV= PKGSRCDIR=${PKGSRCDIR:Q} DISTVER= ${DISTNAME:S/pkglint-//} @@ -42,7 +42,7 @@ do-extract: do-build: .for FILE in ${SUBST_FILES} ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ - -e 's|@PORTSDIR@|${_PKGSRCDIR}|g' \ + -e 's|@PORTSDIR@|${PKGSRCDIR}|g' \ -e 's|@DISTVER@|${DISTVER}|g' \ -e 's|@MAKE@|${MAKE}|g' \ -e 's|@PERL@|${PERL5}|g' \ |