summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-08-14 11:08:37 +0000
committerjperkin <jperkin>2014-08-14 11:08:37 +0000
commit10dd6c47df6a15c33f57880d2da88459472cca92 (patch)
treef23e5d416d66ce5bfa2479e555297d1b1238d838 /mk/bsd.pkg.mk
parent7885065db7feda4564c19f3ac4226efdac7946b6 (diff)
downloadpkgsrc-10dd6c47df6a15c33f57880d2da88459472cca92.tar.gz
Split SMF handling across bsd.pkg.mk and bsd.prefs.mk. Should fix issues
with packages which include bsd.prefs.mk before setting SMF variables.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ee15aba97a6..0a4e70a28bf 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.2000 2014/06/02 10:24:05 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.2001 2014/08/14 11:08:37 jperkin Exp $
#
# This file is in the public domain.
#
@@ -315,6 +315,12 @@ OVERRIDE_DIRDEPTH?= 2
#
.include "alternatives.mk"
+# Handle alternative init systems
+#
+.if ${INIT_SYSTEM} == "smf"
+. include "smf.mk"
+.endif
+
# Define SMART_MESSAGES in /etc/mk.conf for messages giving the tree
# of dependencies for building, and the current target.
_PKGSRC_IN?= ===${SMART_MESSAGES:D> ${.TARGET} [${PKGNAME}${_PKGSRC_DEPS}] ===}