diff options
author | jlam <jlam@pkgsrc.org> | 2017-06-01 02:15:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-06-01 02:15:10 +0000 |
commit | e7fe02e33c402c818cb69cc8fa554c23adc2cb5a (patch) | |
tree | db49484496fa6798a789721536b886beae253c9b /mk/bsd.prefs.mk | |
parent | af0fdc41317355088c9f02fa3203e52441290057 (diff) | |
download | pkgsrc-e7fe02e33c402c818cb69cc8fa554c23adc2cb5a.tar.gz |
Provide switch to activate new frameworks to replace "pkginstall".
If ${_USE_NEW_PKGINSTALL} is "yes", then use the new "pkgtasks",
"init", and "pkgformat/pkg"-scripts frameworks instead of the
existing "pkginstall" framework.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index f8135cdb977..600bf68409e 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.391 2017/05/31 22:55:01 jlam Exp $ +# $NetBSD: bsd.prefs.mk,v 1.392 2017/06/01 02:15:10 jlam Exp $ # # This file includes the mk.conf file, which contains the user settings. # @@ -686,10 +686,12 @@ PREPEND_PATH+= ${X11BASE}/bin .endif PREPEND_PATH+= ${LOCALBASE}/bin +.if ${_USE_NEW_PKGINSTALL:Uno} == "no" # Support alternative init systems. # INIT_SYSTEM?= rc.d _BUILD_DEFS+= INIT_SYSTEM +.endif _PKGSRC_MKPIE= no .if (${PKGSRC_MKPIE:tl} == "yes") && \ @@ -738,6 +740,11 @@ _USE_CWRAPPERS= no # System features framework .include "features/features-vars.mk" +.if ${_USE_NEW_PKGINSTALL:Uno} != "no" +# Init services framework +.include "init/bsd.init-vars.mk" +.endif + # Package system format definitions .include "pkgformat/bsd.pkgformat-vars.mk" |