1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

* Support 6.x builds

* Default 4.x to XFree86 4.x, 5.x and above to x.org
* Don't pick up local customizations from OPTIONS

Approved by:	portmgr (self)
This commit is contained in:
Kris Kennaway 2004-09-26 21:56:39 +00:00
parent 32bd453eb6
commit ba970af6a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118444

View File

@ -12,17 +12,26 @@ buildenv () {
export PKGSUFFIX=.tgz
export PKGZIPCMD=gzip
export INDEXFILE=INDEX
export XFREE86_VERSION=4
;;
x4-exp)
export PKGSUFFIX=.tgz
export PKGZIPCMD=gzip
export PORTS_AUDIT=1
export INDEXFILE=INDEX
export XFREE86_VERSION=4
;;
x5)
export PKGSUFFIX=.tbz
export PKGZIPCMD=bzip2
export INDEXFILE=INDEX-5
export X_WINDOW_SYSTEM=xorg
;;
x6)
export PKGSUFFIX=.tbz
export PKGZIPCMD=bzip2
export INDEXFILE=INDEX-6
export X_WINDOW_SYSTEM=xorg
;;
*)
echo "buildenv: invalid branch"
@ -33,8 +42,6 @@ buildenv () {
export ARCH=${arch}
export MACHINE_ARCH=${arch}
export XFREE86_VERSION=4
# Have to use realpath because 'make index' doesn't deal with symlinks in PORTSDIR
# - kk 020311
export PORTSDIR=$(realpath ${pb}/${arch}/${branch}/ports)
@ -50,6 +57,9 @@ buildenv () {
export DISTDIR=${pb}/${arch}/${branch}/distfiles
export PACKAGES=${pb}/${arch}/${branch}/packages
# Don't pick up host OPTIONS
export PORT_DBDIR=/nonexistent
export UNAME_m=${ARCH}
export UNAME_n=freebsd.org
export UNAME_p=${ARCH}