aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts/tindex
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2011-09-27 14:29:35 +0800
committererwin <erwin@FreeBSD.org>2011-09-27 14:29:35 +0800
commitcb5035a6568e8bceef1e54690f4e97bcfaebe50a (patch)
treecadaf0140705692430bd8a6becc0b46ad319993b /Tools/scripts/tindex
parent5d2dee9107e8d0c6b7a8ea8c6ce075ee8959b5e7 (diff)
downloadfreebsd-ports-gnome-cb5035a6568e8bceef1e54690f4e97bcfaebe50a.tar.gz
freebsd-ports-gnome-cb5035a6568e8bceef1e54690f4e97bcfaebe50a.tar.zst
freebsd-ports-gnome-cb5035a6568e8bceef1e54690f4e97bcfaebe50a.zip
Add support from FreeBSD 10.x
Diffstat (limited to 'Tools/scripts/tindex')
-rwxr-xr-xTools/scripts/tindex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 9d48f2a73c8a..32ac6a39094e 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -36,6 +36,7 @@ export PORTSDIR=${BASEDIR}/ports
export SRCDIR7=${BASEDIR}/src.7
export SRCDIR8=${BASEDIR}/src.8
export SRCDIR9=${BASEDIR}/src.9
+export SRCDIR10=${BASEDIR}/src.10
# Target architecture if not set in the environment
if [ "${ARCH}" = "" ]; then
@@ -175,11 +176,14 @@ cd ${SRCDIR9}/sys/sys
cvs -Rq update -PdA param.h
OSVERSION9=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR9}/sys/sys/param.h)
+cd ${SRCDIR10}/sys/sys
+cvs -Rq update -PdA param.h
+OSVERSION10=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR10}/sys/sys/param.h)
cd ${PORTSDIR}
-rm -f INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2
+rm -f INDEX-7 INDEX-7.bz2 INDEX-8 INDEX-8.bz2 INDEX-9 INDEX-9.bz2 INDEX-10 INDEX-10.bz2
-for branch in 7.x 8.x 9.x; do
+for branch in 7.x 8.x 9.x 10.x; do
release=$(echo $branch | sed -e 's,.x,,')
eval _osver=\$OSVERSION${release}