summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-05 16:46:14 +0000
committerru <ru@FreeBSD.org>2002-08-05 16:46:14 +0000
commit18a6d11c31fcbf0733ede4eac2ddf5b59ab720bb (patch)
tree1a0de8c2fa3ce9dacad58899fd2af0a18cfb8d51 /release/Makefile
parent21798e4a9c9ecbcfd20468f900e3f01b06912220 (diff)
downloadFreeBSD-src-18a6d11c31fcbf0733ede4eac2ddf5b59ab720bb.zip
FreeBSD-src-18a6d11c31fcbf0733ede4eac2ddf5b59ab720bb.tar.gz
The side effect of revision 1.687 (env -i) was that many useful knobs
are no longer propagated to the chrooted environment, e.g. NOKERBEROS. On the other hand, TMPDIR and MAKEOBJDIRPREFIX should no longer be. Spotted by: Alexandr Listopad <laa@reis.zp.ua>
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 67af96c..4e89b4e 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -397,11 +397,21 @@ rerelease release:
.if defined(TARGET_ARCH)
echo "export TARGET_ARCH=\"${TARGET_ARCH}\"" >> ${CHROOTDIR}/mk
.endif
+.if defined(EXTRA_SRC)
+ echo "export EXTRA_SRC=\"${EXTRA_SRC}\"" >> ${CHROOTDIR}/mk
+.endif
+.if defined(FIXCRYPTO)
+ echo "export FIXCRYPTO=\"${FIXCRYPTO}\"" >> ${CHROOTDIR}/mk
+.endif
+.if defined(NOKERBEROS)
+ echo "export NOKERBEROS=\"${NOKERBEROS}\"" >> ${CHROOTDIR}/mk
+.endif
+.if defined(NO_SENDMAIL)
+ echo "export NO_SENDMAIL=\"${NO_SENDMAIL}\"" >> ${CHROOTDIR}/mk
+.endif
# Don't remove this, or the build will fall over!
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk
echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}" >> ${CHROOTDIR}/mk
- echo "export TMPDIR=/tmp" >> ${CHROOTDIR}/mk
- echo "export MAKEOBJDIRPREFIX=/usr/obj" >> ${CHROOTDIR}/mk
echo "export MANBUILDCAT=YES" >> ${CHROOTDIR}/mk
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
echo " cd /usr/src" >> ${CHROOTDIR}/mk
OpenPOWER on IntegriCloud