diff options
author | jlam <jlam> | 2004-09-27 12:05:53 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-09-27 12:05:53 +0000 |
commit | 353e5eb3a67fb7405514bf628f902cee49f10716 (patch) | |
tree | a45ad60163545cf9f8b372872e2f754ef835c03e /mk/bsd.prefs.mk | |
parent | 4b7a794184cce1def093ae963053726f337b8436 (diff) | |
download | pkgsrc-353e5eb3a67fb7405514bf628f902cee49f10716.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.mk | 7 |
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 |