summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2004-09-30 22:59:47 +0000
committerkensmith <kensmith@FreeBSD.org>2004-09-30 22:59:47 +0000
commit58eb051f4ed2f48719a88defdd0859bd398a45fb (patch)
tree30e5bb2b9ad6467afeb2229d32a807dae7e5392f /release
parentbad5ef964a522e067532ddc0f8fab9442123ac5f (diff)
downloadFreeBSD-src-58eb051f4ed2f48719a88defdd0859bd398a45fb.zip
FreeBSD-src-58eb051f4ed2f48719a88defdd0859bd398a45fb.tar.gz
It turns out the ia64 architecture's disc2 overflows if we put the
ports/ tree on it. This makes putting the ports/ tree on disc2 at all dependent on the NOPORTREADMES knob as well as the NOPORT knob (at the moment NOPORT may be set while NOPORTREADMES isn't, that should probably be revisited). And it hardcodes ia64 for NOPORTREADMES by request the ia64 release builder. While here really get rid of the temp file 'make index' leaves behind. Tested by: i386 and ia64 'make release' Reviewed by: marcel MFC after: 1 day
Diffstat (limited to 'release')
-rw-r--r--release/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 84de135..61ce2ba7 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -254,6 +254,13 @@ CD_DISC1= ${CD}/disc1
CD_DISC2= ${CD}/disc2
_MK?= ${CHROOTDIR}/mk
+# Some architectures may not have space for the ports tree on disc2.
+# For these architectures there is no sense building the README.html
+# files no matter what.
+.if ${TARGET_ARCH} == "ia64"
+NOPORTREADMES= yes
+.endif
+
# Where the bootstrap ports (see DOCPORTS) get installed.
LOCALDIR= /usr/local/bin
@@ -508,7 +515,7 @@ release rerelease:
echo " cd /usr/ports" >> ${_MK}
echo " rm -f INDEX*" >> ${_MK}
echo " make index -DINDEX_PRISTINE" >> ${_MK}
- echo " rm -f INDEX.tmp" >> ${_MK}
+ echo " rm -f INDEX*.tmp" >> ${_MK}
echo " touch /tmp/.skip_ports_index" >> ${_MK}
echo " echo \">>> make index finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
echo "fi" >> ${_MK}
@@ -915,7 +922,7 @@ cdrom.1:
@cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
-.if !defined(NOPORTS)
+.if !defined(NOPORTS) && !defined(NOPORTREADMES)
@tar --exclude CVS --exclude 'ports/distfiles/*' -czf - \
-C /usr ports | (cd ${CD_DISC2}/usr; tar -xpBf -)
.endif
OpenPOWER on IntegriCloud