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/pkg_regress | |
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/pkg_regress')
-rw-r--r-- | pkgtools/pkg_regress/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_regress/Makefile b/pkgtools/pkg_regress/Makefile index 03174c55a95..eec099930ef 100644 --- a/pkgtools/pkg_regress/Makefile +++ b/pkgtools/pkg_regress/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2004/08/28 00:26:57 gavan Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/07 02:01:38 jlam Exp $ DISTNAME= pkg_regress-0.0 CATEGORIES= pkgtools @@ -22,7 +22,7 @@ INSTALLATION_DIRS= sbin do-build: ${SED} -e 's#@MAKE@#${MAKE}#g' \ - -e 's#@PKGSRCDIR@#${_PKGSRCDIR}#g' \ + -e 's#@PKGSRCDIR@#${PKGSRCDIR}#g' \ -e 's#@SH@#${SH}#g' \ -e 's#@EGREP@#${EGREP}#g' \ ${FILESDIR}/pkg_regress.sh >${WRKSRC}/pkg_regress.sh |