summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-11-02 04:04:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-11-02 04:04:14 +0000
commitda8d4e6bda09a62f2b079c338794a86dca15e628 (patch)
tree1a659dd2380e0b13ec807b11fb199056755ab772 /Tools
parentRead FTP url from ${ftpurl}. Remove hack to fetch perl package into the (diff)
Use the correct filename for the FreeBSD version string used by the
uname script. Mount the docs from the correct location. Remove the hack to pkg_add perl into the chroot environment, now that the scripts no longer rely on it.
Notes
Notes: svn path=/head/; revision=69289
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/portbuild16
1 files changed, 2 insertions, 14 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild
index 13e533fa1f5b..a76be56c46c6 100755
--- a/Tools/portbuild/scripts/portbuild
+++ b/Tools/portbuild/scripts/portbuild
@@ -150,7 +150,7 @@ if [ ${found} != 1 ]; then
fi
# Set up desired uname version
-echo ${OSREL}-${BRANCH} > ${chroot}/usr/bin/UNAME_TARGET
+echo ${OSREL}-${BRANCH} > ${chroot}/usr/bin/UNAME_VERSION
trap "cleanup ${chroot} ${noclean} ${error} \"${cleandirs}\" ${pkgname}" 1 2 3 9 10 11 15
@@ -171,7 +171,7 @@ ln -sf ../a/ports ${chroot}/usr/ports
mkdir -p ${chroot}/usr/src ${chroot}/usr/opt/doc
mount -r ${master}:${pb}/${branch}/src ${chroot}/usr/src
-mount -r ${master}:${pb}/usr/opt/doc ${chroot}/usr/opt/doc
+mount -r ${master}:${pb}/${branch}/doc ${chroot}/usr/opt/doc
mount -t devfs foo ${chroot}/dev
@@ -210,18 +210,6 @@ if [ ${arch} = "i386" ]; then
chroot ${chroot} /sbin/ldconfig -aout -R
fi
-# Install packages
-# XXX Fix once perl.tbz available
-for i in ${chroot}/packages/*.tbz ; do
- chroot ${chroot} pkg_add /packages/`basename $i`
-done
-
-chroot ${chroot} /usr/local/bin/use.perl port
-
-# Don't record packages which will interfere with building versions of the
-# packages we just installed.
-rm -rf ${chroot}/var/db/pkg/*
-
while [ $# -gt 0 ]; do
if [ -f ${packages}/All/$1 ]; then
if [ ! -f ${chroot}/tmp/depends/$1 ]; then