summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-05 21:03:39 +0000
committerrillig <rillig@pkgsrc.org>2007-10-05 21:03:39 +0000
commit6ea2bde2b6a3245a7d5f041f38f6c4feb72bf930 (patch)
tree5846bc392c476e9443b81bdd790ee6c54a63f0d5 /mk
parent6eb7ef25e49468ea6496e7a505d51090d0bebe64 (diff)
downloadpkgsrc-6ea2bde2b6a3245a7d5f041f38f6c4feb72bf930.tar.gz
I often want to know which directories pkgsrc is using.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 1126d86a65a..15e2666d0b1 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.268 2007/09/11 18:16:38 abs Exp $
+# $NetBSD: bsd.prefs.mk,v 1.269 2007/10/05 21:03:39 rillig Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -633,4 +633,9 @@ PREPEND_PATH+= ${LOCALBASE}/bin
PKGSRC_MAKE_ENV+= ${MAKECONF:DMAKECONF=${MAKECONF:Q}}
RECURSIVE_MAKE= ${SETENV} ${PKGSRC_MAKE_ENV} ${MAKE}
+_VARGROUPS+= dirs
+_USER_VARS.dirs= DISTDIR LOCALBASE PACKAGES PKG_SYSCONFDIR WRKOBJDIR
+_PKG_VARS.dirs= WRKSRC PATCHDIR FILESDIR PKGDIR
+_SYS_VARS.dirs= WRKDIR DESTDIR PKG_SYSCONFBASEDIR
+
.endif # BSD_PKG_MK