aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-08-09 19:16:54 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-08-09 19:16:54 +0000
commit16398a1141de7696775b88cba9d14c780faf1d42 (patch)
tree56aba66dd2c6f86070c154a0914af3c1b90782e1 /Makefile.inc1
parent39901227a580c9f814a53d23afb54f96021a0277 (diff)
downloadsrc-16398a1141de7696775b88cba9d14c780faf1d42.tar.gz
src-16398a1141de7696775b88cba9d14c780faf1d42.zip
Notes
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ed9388610f17..74a3b84081d0 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1618,7 +1618,10 @@ create-world-package-${pkgname}: .PHONY
@awk -F\" ' \
/^name/ { printf("===> Creating %s-", $$2); next } \
/^version/ { print $$2; next } \
- ' ${WSTAGEDIR}/${pkgname}.ucl ; \
+ ' ${WSTAGEDIR}/${pkgname}.ucl ;
+ @if [ "${pkgname}" == "runtime" ]; then \
+ sed -i '' -e "s/%KERNCONF%/${INSTALLKERNEL:tl}/" ${WSTAGEDIR}/${pkgname}.ucl ; \
+ fi
${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=yes \
create -M ${WSTAGEDIR}/${pkgname}.ucl \
-p ${WSTAGEDIR}/${pkgname}.plist \