XDDESTDIR should not be set by the user, instead the user might want to tweak

XDTP and let the standard DESTDIR decide where to install.

Discussed with:	imp
This commit is contained in:
Baptiste Daroussin 2014-04-03 22:22:10 +00:00
parent 37c55e8558
commit e4dbff8af6

View File

@ -1891,7 +1891,7 @@ CD2ENV=${CDENV} CC="${CC} ${CD2CFLAGS}" CXX="${CXX} ${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