summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-27 12:05:53 +0000
committerjlam <jlam@pkgsrc.org>2004-09-27 12:05:53 +0000
commit430f3b2ae5556675490c5934058681c8637e4fdf (patch)
treea45ad60163545cf9f8b372872e2f754ef835c03e /mk/bsd.prefs.mk
parent48816eb26fbee95a39266b521946274105b82406 (diff)
downloadpkgsrc-430f3b2ae5556675490c5934058681c8637e4fdf.tar.gz
Move some wrapper definitions into a separate file wrapper-defs.mk that is
included by bsd.prefs.mk. This allows the following variables to be used before bsd.wrapper.mk is included: WRAPPER_DIR WRAPPER_SRCDIR WRAPPER_BINDIR WRAPPER_SHELL WRAPPER_TMPDIR
Diffstat (limited to 'mk/bsd.prefs.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 ee14836868c..46275cd6ec9 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.167 2004/09/27 12:00:56 jlam Exp $
+# $NetBSD: bsd.prefs.mk,v 1.168 2004/09/27 12:05:53 jlam Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -511,4 +511,9 @@ WRKLOG?= ${WRKDIR}/.work.log
PKG_DEFAULT_OPTIONS?= # empty
PKG_OPTIONS?= # empty
+# Wrapper framework definitions
+.if exists(${PKGSRC_TOPDIR}/mk/wrapper/wrapper-defs.mk)
+. include "${PKGSRC_TOPDIR}/mk/wrapper/wrapper-defs.mk"
+.endif
+
.endif # BSD_PKG_MK