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