Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 04:29:36 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349228 - head/Mk
Message-ID:  <201403260429.s2Q4TaSS076871@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Mar 26 04:29:36 2014
New Revision: 349228
URL: http://svnweb.freebsd.org/changeset/ports/349228
QAT: https://qat.redports.org/buildarchive/r349228/

Log:
  - Fix USE_PACKAGE_DEPENDS to properly register packages as automatic with pkgng
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Mar 26 04:18:14 2014	(r349227)
+++ head/Mk/bsd.port.mk	Wed Mar 26 04:29:36 2014	(r349228)
@@ -4811,7 +4811,10 @@ _INSTALL_DEPENDS=	\
 					${WRKDIR}/pkg-static add $${subpkgfile}; \
 					${RM} -f ${WRKDIR}/pkg-static; \
 				else \
-					${PKG_ADD} $${subpkgfile}; \
+					if [ -n "${WITH_PKGNG}" ]; then \
+						_pkg_add_a="-A"; \
+					fi; \
+					${PKG_ADD} $${_pkg_add_a} $${subpkgfile}; \
 				fi; \
 			elif [ -n "${USE_PACKAGE_DEPENDS_ONLY}" -a "$${target}" = "${DEPENDS_TARGET}" ]; then \
 				${ECHO_MSG} "===>   ${PKGNAME} depends on package: $${subpkgfile} - not found"; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403260429.s2Q4TaSS076871>