Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 07:59:44 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r340687 - branches/2014Q1/Mk
Message-ID:  <201401220759.s0M7xi1b023644@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



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