svn commit: r313770 - head/ports-mgmt/pkg

Bryan Drewery bdrewery at FreeBSD.org
Sat Mar 9 22:53:59 UTC 2013


Author: bdrewery
Date: Sat Mar  9 22:53:59 2013
New Revision: 313770
URL: http://svnweb.freebsd.org/changeset/ports/313770

Log:
  - Use USE_SUBMAKE to fix running 'make build deinstall install' not properly
    using the pkg-static(8) from WRKSRC during the install phase
  
  PR:		ports/171831
  Reported by:	Garrett Cooper <yaneurabeya at gmail.com>
  Approved by:	portmgr (bapt)

Modified:
  head/ports-mgmt/pkg/Makefile

Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile	Sat Mar  9 22:45:46 2013	(r313769)
+++ head/ports-mgmt/pkg/Makefile	Sat Mar  9 22:53:59 2013	(r313770)
@@ -22,6 +22,9 @@ MANCOMPRESSED=	yes
 
 MAKE_ENV+=	WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null
 USE_STAGE=	yes
+# Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
+# so that pkg-static is used from the wrkdir
+USE_SUBMAKE=	yes
 
 MAN8=	pkg.8 \
 	pkg-add.8 \


More information about the svn-ports-head mailing list