aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-03-28 16:31:12 +0000
committerWarner Losh <imp@FreeBSD.org>2014-03-28 16:31:12 +0000
commitbd633799afea471c1797c9ce78acbc654bf4a022 (patch)
tree68a105c37dc7bf45606134a907073a6212951b7e
parentb9034ce23f4e509f28d9304baf751c83928801a7 (diff)
downloadsrc-bd633799afea471c1797c9ce78acbc654bf4a022.tar.gz
src-bd633799afea471c1797c9ce78acbc654bf4a022.zip
Only set XDDESTDIR if it wasn't already set to allow people to
override it.
Notes
Notes: svn path=/head/; revision=263881
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index bc004219f5da..11dd480a4f27 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1899,7 +1899,7 @@ CD2ENV=${CDENV} CC="${CC} ${CD2CFLAGS}" \
CDTMP= ${MAKEOBJDIRPREFIX}/${XDDIR}/${.CURDIR}/tmp
CDMAKE=${CDENV} PATH=${CDTMP}/usr/bin:${PATH} ${MAKE} ${NOFUN}
CD2MAKE=${CD2ENV} PATH=${CDTMP}/usr/bin:${XDDESTDIR}/usr/bin:${PATH} ${MAKE} ${NOFUN}
-XDDESTDIR=${DESTDIR}/${XDTP}
+XDDESTDIR?=${DESTDIR}/${XDTP}
.if !defined(OSREL)
OSREL!= uname -r | sed -e 's/[-(].*//'
.endif