aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-13 11:25:39 +0800
committerkris <kris@FreeBSD.org>2002-05-13 11:25:39 +0800
commit297220487771ac961199be503a6a318810ea2240 (patch)
tree1527971ad8da804ecbd21be28667221bfda822cb
parent5a585ef5e68c0aea47ae73a85e529173203d591c (diff)
downloadfreebsd-ports-gnome-297220487771ac961199be503a6a318810ea2240.tar.gz
freebsd-ports-gnome-297220487771ac961199be503a6a318810ea2240.tar.zst
freebsd-ports-gnome-297220487771ac961199be503a6a318810ea2240.zip
- Switch default to XFree86-4.x for all branches
- buildenv() takes extra argument of the portbuild directory - Add a todo comment
-rw-r--r--Tools/portbuild/scripts/buildenv9
1 files changed, 6 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildenv b/Tools/portbuild/scripts/buildenv
index a81f9724c11c..41b38667b5e6 100644
--- a/Tools/portbuild/scripts/buildenv
+++ b/Tools/portbuild/scripts/buildenv
@@ -3,14 +3,15 @@
# Code fragment used by other scripts for commonality
buildenv () {
- branch=$1
+ pb=$1
+ branch=$2
case "x$branch" in
x4)
- export XFREE86_VERSION=3
+ export XFREE86_VERSION=4
;;
x4-exp)
- export XFREE86_VERSION=3
+ export XFREE86_VERSION=4
;;
x5)
export XFREE86_VERSION=4
@@ -38,6 +39,8 @@ buildenv () {
export PORTOBJFORMAT=elf
export USA_RESIDENT=yes
+ # Need to make it fetch a full set say once a week to catch distfiles
+ # which change md5 sum but not name
export MASTER_SITE_OVERRIDE='ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/'
# XXX Are these supposed to be used for release CD builds?