summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-01 17:05:19 +0000
committerjlam <jlam>2005-06-01 17:05:19 +0000
commit7d2dfcbebdb8288dc7d0e1e0e610960e339c50b9 (patch)
treecad834d5c37ec21e14ca36e74299ee426139a47b /mk/bsd.prefs.mk
parentcab71d0bd3594494d43a4fa45ee332112bfce2bb (diff)
downloadpkgsrc-7d2dfcbebdb8288dc7d0e1e0e610960e339c50b9.tar.gz
Include bsd.makevars.mk in bsd.prefs.mk instead of bsd.pkg.mk. This
allows the saved make variables to be re-set whenever bsd.prefs.mk is included, and is a shortcut for the common case where a Makefile includes both.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index cc6f2eb7428..54cf66d5a32 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.193 2005/05/22 19:11:12 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.194 2005/06/01 17:05:19 jlam Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -566,4 +566,7 @@ PREPEND_PATH+= ${USE_X11:D${X11BASE}/bin} ${LOCALBASE}/bin
# Wrapper framework definitions
.include "${PKGSRCDIR}/mk/wrapper/wrapper-defs.mk"
+# Make variable definitions cache
+.include "${PKGSRCDIR}/mk/bsd.makevars.mk"
+
.endif # BSD_PKG_MK