svn commit: r259492 - stable/10/release

Glen Barber gjb at FreeBSD.org
Tue Dec 17 04:16:21 UTC 2013


Author: gjb
Date: Tue Dec 17 04:16:20 2013
New Revision: 259492
URL: http://svnweb.freebsd.org/changeset/base/259492

Log:
  MFC r258770 (hrs):
    Add NOPKG to disable pkg-stage.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/release/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/release/Makefile
==============================================================================
--- stable/10/release/Makefile	Tue Dec 17 03:46:44 2013	(r259491)
+++ stable/10/release/Makefile	Tue Dec 17 04:16:20 2013	(r259492)
@@ -16,6 +16,7 @@
 #            (by default, the directory above this one) 
 #  PORTSDIR: location of ports tree to distribute (default: /usr/ports)
 #  DOCDIR:   location of doc tree (default: /usr/doc)
+#  NOPKG:    if set, do not distribute third-party packages
 #  NOPORTS:  if set, do not distribute ports tree
 #  NOSRC:    if set, do not distribute source tree
 #  NODOC:    if set, do not generate release documentation
@@ -221,7 +222,7 @@ packagesystem: base.txz kernel.txz ${EXT
 	touch ${.TARGET}
 
 pkg-stage:
-.if(exists(${.CURDIR}/${TARGET}/pkg-stage.conf))
+.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
 	sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
 		${REVISION}
 .endif


More information about the svn-src-stable-10 mailing list