summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-03-22 14:22:47 +0000
committerru <ru@FreeBSD.org>2005-03-22 14:22:47 +0000
commit342873798d46e2552680245bd8bea66169c56779 (patch)
treea49cb7c2ef044347bd0c456035042f9f7bb3b3a0 /Makefile.inc1
parentd8c301673b2cda97fd07bd1fe23085d583809c75 (diff)
downloadFreeBSD-src-342873798d46e2552680245bd8bea66169c56779.zip
FreeBSD-src-342873798d46e2552680245bd8bea66169c56779.tar.gz
Protect against DESTDIR being set during the build of build32.
Reported by: pav
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 77985fc..b10bbde 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -400,7 +400,7 @@ build32:
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
.for _t in obj depend all
cd ${.CURDIR}/kerberos5/tools; \
- MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t}
+ MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} DESTDIR= ${_t}
.endfor
.endif
.for _t in obj includes
@@ -425,7 +425,7 @@ build32:
.endfor
.for _dir in lib/libncurses lib/libmagic
cd ${.CURDIR}/${_dir}; \
- MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} build-tools
+ MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} DESTDIR= build-tools
.endfor
cd ${.CURDIR}; \
${LIB32MAKE} -f Makefile.inc1 DESTDIR=${LIB32TMP} libraries
OpenPOWER on IntegriCloud