diff options
author | jlam <jlam> | 2004-10-07 02:01:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-10-07 02:01:37 +0000 |
commit | a382f811f00cc359fc6c3d7c7386417af7b05fd1 (patch) | |
tree | 15912261de9f656cabfa82bfc7708e5e4ee1ae67 /pkgtools/pkgclean | |
parent | 9828610aa3d1827c2d4d36482a824f63d62fd0b0 (diff) | |
download | pkgsrc-a382f811f00cc359fc6c3d7c7386417af7b05fd1.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/pkgclean')
-rw-r--r-- | pkgtools/pkgclean/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkgclean/Makefile b/pkgtools/pkgclean/Makefile index 7a07d7fc781..ec3484bcfd0 100644 --- a/pkgtools/pkgclean/Makefile +++ b/pkgtools/pkgclean/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/06/22 20:02:41 xtraeme Exp $ +# $NetBSD: Makefile,v 1.2 2004/10/07 02:01:38 jlam Exp $ DISTNAME= pkgclean-20040622 CATEGORIES= pkgtools @@ -33,7 +33,7 @@ do-install: SUBST_CLASSES= path SUBST_STAGE.path= post-patch SUBST_FILES.path= pkgclean.c pkgclean.1 -SUBST_SED.path= -e "s,@PKGSRCDIR@,${_PKGSRCDIR},g" +SUBST_SED.path= -e "s,@PKGSRCDIR@,${PKGSRCDIR},g" SUBST_MESSAGE.path= "Adjusting pkgsrc directory." .include "../../mk/bsd.pkg.mk" |