From owner-svn-ports-head@FreeBSD.ORG Mon Jan 27 21:23:50 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FE28605; Mon, 27 Jan 2014 21:23:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39CFB12B4; Mon, 27 Jan 2014 21:23:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RLNoac010640; Mon, 27 Jan 2014 21:23:50 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0RLNorp010639; Mon, 27 Jan 2014 21:23:50 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401272123.s0RLNorp010639@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 Jan 2014 21:23:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341457 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 21:23:50 -0000 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 ################################################################