From owner-svn-ports-branches@FreeBSD.ORG Wed Jan 22 07:59:44 2014 Return-Path: Delivered-To: svn-ports-branches@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 61E0CC30; Wed, 22 Jan 2014 07:59:44 +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 4E45D1A45; Wed, 22 Jan 2014 07:59:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0M7xi47023645; Wed, 22 Jan 2014 07:59:44 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0M7xi1b023644; Wed, 22 Jan 2014 07:59:44 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401220759.s0M7xi1b023644@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 22 Jan 2014 07:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r340687 - branches/2014Q1/Mk X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 07:59:44 -0000 Author: bapt Date: Wed Jan 22 07:59:43 2014 New Revision: 340687 URL: http://svnweb.freebsd.org/changeset/ports/340687 QAT: https://qat.redports.org/buildarchive/r340687/ Log: MFH: r338982 Add an internal variable to decide if DESTDIR should ve define in MAKE_ENV or MAKE_ARGS Modified: branches/2014Q1/Mk/bsd.stage.mk Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/Mk/bsd.stage.mk ============================================================================== --- branches/2014Q1/Mk/bsd.stage.mk Wed Jan 22 07:58:30 2014 (r340686) +++ branches/2014Q1/Mk/bsd.stage.mk Wed Jan 22 07:59:43 2014 (r340687) @@ -5,7 +5,11 @@ STAGEDIR?= ${WRKDIR}/stage DESTDIRNAME?= DESTDIR +.if defined(_DESTDIR_VIA_ENV) +MAKE_ENV+= ${DESTDIRNAME}=${STAGEDIR} +.else MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} +.endif QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \