Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 21:23:50 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341457 - head/Mk
Message-ID:  <201401272123.s0RLNorp010639@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 27 21:23:49 2014
New Revision: 341457
URL: http://svnweb.freebsd.org/changeset/ports/341457
QAT: https://qat.redports.org/buildarchive/r341457/

Log:
  Fix make package-recursive
  
  Keep the ugly way for non staged ports
  and properly build the package for staged ports
  
  Tested by:	smh

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Jan 27 21:21:51 2014	(r341456)
+++ head/Mk/bsd.port.mk	Mon Jan 27 21:23:49 2014	(r341457)
@@ -4792,11 +4792,14 @@ pre-repackage:
 
 .if !target(package-noinstall)
 package-noinstall:
+.if defined(NO_STAGE)
 	@${MKDIR} ${WRKDIR}
-	@cd ${.CURDIR} && ${MAKE} pre-package \
-		pre-package-script do-package post-package-script
+	@cd ${.CURDIR} && ${MAKE} ${_PACKAGE_REAL_SEQ}
 	@${RM} -f ${TMPPLIST}
 	-@${RMDIR} ${WRKDIR}
+.else
+	@cd ${.CURDIR} && ${MAKE} package
+.endif
 .endif
 
 ################################################################



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