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:
parent
32bd453eb6
commit
ba970af6a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118444
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user