1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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.
This commit is contained in:
Kris Kennaway 2002-11-02 04:04:14 +00:00
parent 78774e2719
commit da8d4e6bda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69289

View File

@ -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