From f6e085a23367423070f292e27d6e0533f8952506 Mon Sep 17 00:00:00 2001 From: kris Date: Thu, 14 Sep 2006 05:21:49 +0000 Subject: * Retire 4-exp builds and add support for 6-exp. * Use a generation number for the bindist tarballs, with compatibility symlink. Eventually we'll use this to avoid building in a "stale" chroot (i.e. populated by old world). * Don't bother running ldconfig on i386, it is evidently not needed since the other arches work fine without it --- Tools/portbuild/scripts/mkbindist | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'Tools/portbuild') diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist index 249ce6ef401f..fb3dc49732ef 100755 --- a/Tools/portbuild/scripts/mkbindist +++ b/Tools/portbuild/scripts/mkbindist @@ -10,7 +10,7 @@ fi arch=$1 branch=$2 -if [ "x$branch" != x4 -a "x$branch" != x4-exp -a "x$branch" != x5 -a "x$branch" != x5-exp -a "x$branch" != x6 -a "x$branch" != x7 ]; then +if [ "x$branch" != x4 -a "x$branch" != x5 -a "x$branch" != x6-exp -a "x$branch" != x6 -a "x$branch" != x7 ]; then usage fi @@ -77,24 +77,25 @@ mkdir -p $(cat ${here}/bindist/dirlist) (cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir}) # Post-processing of installed world - date '+%Y%m%d' > var/db/port.mkversion - rm -f kernel.GENERIC - mkdir ${tmpdir}/var/run -chroot ${tmpdir} /sbin/ldconfig /usr/lib -if [ "${arch}" = "i386" ]; then - chroot ${tmpdir} /sbin/ldconfig -aout /usr/lib/aout - rm -f /usr/lib/aout/lib*_p.a -fi - # Create the tarballs mkdir -p ${here}/tarballs + +if [ -f ${here}/tarballs/.gen ]; then + gen=$(cat ${here}/tarballs/.gen) +else + gen=0 +fi +newgen=$((${gen}+1)) + cd ${tmpdir} tar cf ${here}/tarballs/bindist.tar.new . -mv -f ${here}/tarballs/bindist.tar.new ${here}/tarballs/bindist.tar +rm -f ${here}/tarballs/bindist-${gen}.tar +mv -f ${here}/tarballs/bindist.tar.new ${here}/tarballs/bindist-${newgen}.tar +ln -sf ${here}/tarballs/bindist-${newgen}.tar ${here}/tarballs/bindist.tar # Clean up cd ${here} -- cgit tion> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-rtree
Commit message (Expand)AuthorAgeFilesLines
* - Unbreak after updatemva2014-08-241-1/+1