svn commit: r328457 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Sep 27 11:38:49 UTC 2013


Author: bdrewery
Date: Fri Sep 27 11:38:48 2013
New Revision: 328457
URL: http://svnweb.freebsd.org/changeset/ports/328457

Log:
  - Fix FORCE_PKG_REGISTER with pkg_install with staging
  
  Submitted by:	garga
  Reviewed by:	bapt
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Fri Sep 27 11:28:09 2013	(r328456)
+++ head/Mk/bsd.port.mk	Fri Sep 27 11:38:48 2013	(r328457)
@@ -3940,8 +3940,12 @@ delete-package-list: delete-package-link
 
 .if !target(install-package)
 install-package:
+.if defined(FORCE_PKG_REGISTER)
+	@${PKG_ADD} -f ${PKGFILE}
+.else
 	@${PKG_ADD} ${PKGFILE}
 .endif
+.endif
 
 
 # Utility targets follow


More information about the svn-ports-all mailing list