pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk I often want to know which directories pkgsrc is us...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/859360b16fb4
branches:  trunk
changeset: 533881:859360b16fb4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Oct 05 21:03:39 2007 +0000

description:
I often want to know which directories pkgsrc is using.

diffstat:

 mk/bsd.prefs.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 041e29589c60 -r 859360b16fb4 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Fri Oct 05 21:02:02 2007 +0000
+++ b/mk/bsd.prefs.mk   Fri Oct 05 21:03:39 2007 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index