mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
1 changed files with 12 additions and 2 deletions
|
@ -12,17 +12,26 @@ buildenv () {
|
||||||
export PKGSUFFIX=.tgz
|
export PKGSUFFIX=.tgz
|
||||||
export PKGZIPCMD=gzip
|
export PKGZIPCMD=gzip
|
||||||
export INDEXFILE=INDEX
|
export INDEXFILE=INDEX
|
||||||
|
export XFREE86_VERSION=4
|
||||||
;;
|
;;
|
||||||
x4-exp)
|
x4-exp)
|
||||||
export PKGSUFFIX=.tgz
|
export PKGSUFFIX=.tgz
|
||||||
export PKGZIPCMD=gzip
|
export PKGZIPCMD=gzip
|
||||||
export PORTS_AUDIT=1
|
export PORTS_AUDIT=1
|
||||||
export INDEXFILE=INDEX
|
export INDEXFILE=INDEX
|
||||||
|
export XFREE86_VERSION=4
|
||||||
;;
|
;;
|
||||||
x5)
|
x5)
|
||||||
export PKGSUFFIX=.tbz
|
export PKGSUFFIX=.tbz
|
||||||
export PKGZIPCMD=bzip2
|
export PKGZIPCMD=bzip2
|
||||||
export INDEXFILE=INDEX-5
|
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"
|
echo "buildenv: invalid branch"
|
||||||
|
@ -33,8 +42,6 @@ buildenv () {
|
||||||
export ARCH=${arch}
|
export ARCH=${arch}
|
||||||
export MACHINE_ARCH=${arch}
|
export MACHINE_ARCH=${arch}
|
||||||
|
|
||||||
export XFREE86_VERSION=4
|
|
||||||
|
|
||||||
# Have to use realpath because 'make index' doesn't deal with symlinks in PORTSDIR
|
# Have to use realpath because 'make index' doesn't deal with symlinks in PORTSDIR
|
||||||
# - kk 020311
|
# - kk 020311
|
||||||
export PORTSDIR=$(realpath ${pb}/${arch}/${branch}/ports)
|
export PORTSDIR=$(realpath ${pb}/${arch}/${branch}/ports)
|
||||||
|
@ -50,6 +57,9 @@ buildenv () {
|
||||||
export DISTDIR=${pb}/${arch}/${branch}/distfiles
|
export DISTDIR=${pb}/${arch}/${branch}/distfiles
|
||||||
export PACKAGES=${pb}/${arch}/${branch}/packages
|
export PACKAGES=${pb}/${arch}/${branch}/packages
|
||||||
|
|
||||||
|
# Don't pick up host OPTIONS
|
||||||
|
export PORT_DBDIR=/nonexistent
|
||||||
|
|
||||||
export UNAME_m=${ARCH}
|
export UNAME_m=${ARCH}
|
||||||
export UNAME_n=freebsd.org
|
export UNAME_n=freebsd.org
|
||||||
export UNAME_p=${ARCH}
|
export UNAME_p=${ARCH}
|
||||||
|
|
Loading…
Add table
Reference in a new issue