diff options
author | kris <kris@FreeBSD.org> | 2002-11-02 04:04:14 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-11-02 04:04:14 +0000 |
commit | 03956b6370d7b4f48fb94531a6f3d9d0a36cd2ff (patch) | |
tree | e6e5079c9da078dd01d099170858c77ac1927390 /Tools/portbuild | |
parent | 67be3fad872fafb992432c5ebb218dd598dbf659 (diff) | |
download | FreeBSD-ports-03956b6370d7b4f48fb94531a6f3d9d0a36cd2ff.zip FreeBSD-ports-03956b6370d7b4f48fb94531a6f3d9d0a36cd2ff.tar.gz |
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.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/portbuild | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild index 13e533f..a76be56 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 |