aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-07-06 17:54:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-07-06 17:54:03 +0000
commit8f229143b1dfc0dcbd15128ac3c4656a070bfc21 (patch)
treed51027ed0c064225021f3d746fa362e2b65390c5 /release/Makefile
parenta14af83085b8485b9f769582487cb76ab369e6ba (diff)
downloadsrc-8f229143b1dfc0dcbd15128ac3c4656a070bfc21.tar.gz
src-8f229143b1dfc0dcbd15128ac3c4656a070bfc21.zip
Allow passing NOPKG= to make(1) to prevent the pkg-stage target
from getting executed. MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=320748
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 9be38fe6a5e2..3cd6b7c0ffca 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -269,7 +269,7 @@ packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
touch ${.TARGET}
pkg-stage:
-.if !defined(NOPKG)
+.if !defined(NOPKG) || empty(NOPKG)
env PORTSDIR=${PORTSDIR} REPOS_DIR=${.CURDIR}/pkg_repos/ \
sh ${.CURDIR}/scripts/pkg-stage.sh
mkdir -p ${.OBJDIR}/dvd/packages/repos/