summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-07-26 11:27:11 +0000
committerru <ru@FreeBSD.org>2002-07-26 11:27:11 +0000
commite75c0ee2e6c845cb23b3efaf69186bc8a4ca0af6 (patch)
treea311645da74e13ce403157ae1afffcd8fc532252 /release
parent586720da580290d017bd435f6c0d59827305bceb (diff)
downloadFreeBSD-src-e75c0ee2e6c845cb23b3efaf69186bc8a4ca0af6.zip
FreeBSD-src-e75c0ee2e6c845cb23b3efaf69186bc8a4ca0af6.tar.gz
Build FDP ports with a clean runtime environment; gmake(1) somehow
uses ${TARGET_ARCH}, in a way that is incompatible with our usage. Submitted by: jhay, ru
Diffstat (limited to 'release')
-rw-r--r--release/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 779f146..8aba3e1 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -340,7 +340,6 @@ rerelease release:
echo "#!/bin/sh" > ${CHROOTDIR}/mk
echo "set -ex" >> ${CHROOTDIR}/mk
echo "_RELTARGET=\$${1:-doRELEASE}" >> ${CHROOTDIR}/mk
- echo "export WITHOUT_X11=YES" >> ${CHROOTDIR}/mk
echo "export DISTRIBUTIONS=\"${DISTRIBUTIONS}\"" >> ${CHROOTDIR}/mk
echo "export BUILDNAME=${BUILDNAME}" >> ${CHROOTDIR}/mk
echo "export OBJFORMAT=${OBJFORMAT}" >> ${CHROOTDIR}/mk
@@ -825,7 +824,10 @@ iso.1:
doc.1:
@echo "Making docs..."
@for i in ${DOCPORTS}; do \
- cd /usr/ports/$$i && make all install clean BATCH=yes JADETEX=no WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
+ cd /usr/ports/$$i && \
+ env -i PATH=$${PATH} make all install clean \
+ BATCH=yes WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
+ FORCE_PKG_REGISTER=yes; \
done
@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/base/usr/share/doc
touch doc.1
OpenPOWER on IntegriCloud