summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdep/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-10-07 02:01:37 +0000
committerjlam <jlam>2004-10-07 02:01:37 +0000
commit6c5d404a5830f3c395c91d0094c294a30f2baec6 (patch)
tree15912261de9f656cabfa82bfc7708e5e4ee1ae67 /pkgtools/pkgdep/Makefile
parent7eb110f6f3beeb1142a86dbbad588eb93c40681d (diff)
downloadpkgsrc-6c5d404a5830f3c395c91d0094c294a30f2baec6.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/pkgdep/Makefile')
-rw-r--r--pkgtools/pkgdep/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkgdep/Makefile b/pkgtools/pkgdep/Makefile
index 8d10320e339..3b5b8d32662 100644
--- a/pkgtools/pkgdep/Makefile
+++ b/pkgtools/pkgdep/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/01/20 12:23:57 agc Exp $
+# $NetBSD: Makefile,v 1.9 2004/10/07 02:01:38 jlam Exp $
#
DISTNAME= pkgdep-1.0
@@ -18,7 +18,7 @@ NO_CONFIGURE= yes
do-build:
${CP} ${FILESDIR}/pkgdep.pl ${WRKDIR}/pkgdep
-# ${SED} -e 's|/usr/pkgsrc|${_PKGSRCDIR}|' \
+# ${SED} -e 's|/usr/pkgsrc|${PKGSRCDIR}|' \
# ${FILESDIR}/pkgdep.pl > ${WRKDIR}/pkgdep
do-install: