svn commit: r399165 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Oct 12 23:22:22 UTC 2015


Author: bdrewery
Date: Mon Oct 12 23:22:20 2015
New Revision: 399165
URL: https://svnweb.freebsd.org/changeset/ports/399165

Log:
  Don't check for minimal Pkg version for package building.
  
  Package building always builds Pkg first.  If someone downgrades their
  pkg locally this change will hurt them, but then they are already
  running an unsupported configuration.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Oct 12 22:44:19 2015	(r399164)
+++ head/Mk/bsd.port.mk	Mon Oct 12 23:22:20 2015	(r399165)
@@ -1210,7 +1210,7 @@ _OSVERSION_MAJOR=	${OSVERSION:C/([0-9]?[
 # Only define tools here (for transition period with between pkg tools)
 .include "${PORTSDIR}/Mk/bsd.commands.mk"
 
-.if !defined(_PKG_CHECKED) && exists(${PKG_BIN})
+.if !defined(_PKG_CHECKED) && !defined(PACKAGE_BUILDING) && exists(${PKG_BIN})
 .if !defined(_PKG_VERSION)
 _PKG_VERSION!=	${PKG_BIN} -v
 .endif


More information about the svn-ports-all mailing list