aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-09 15:37:34 +0800
committerobrien <obrien@FreeBSD.org>2001-10-09 15:37:34 +0800
commita869061c30a5f622a930f6460784b00f175a5970 (patch)
tree67d51057d6f611d6323e41ada3efec967404a1cd /Mk/bsd.port.mk
parent11e8ea895baa51bc423767c0ea31441cabd0c4de (diff)
downloadfreebsd-ports-gnome-a869061c30a5f622a930f6460784b00f175a5970.tar.gz
freebsd-ports-gnome-a869061c30a5f622a930f6460784b00f175a5970.tar.zst
freebsd-ports-gnome-a869061c30a5f622a930f6460784b00f175a5970.zip
Switch to building -current ports against XFree86 4.x.
Approved by: silence from portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index dd4cfd440097..361d5394a167 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -720,8 +720,12 @@ MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
.include "${PORTSDIR}/Mk/bsd.gnome.mk"
-# defaults to 3.3.6; will be changed to 4.0 when it is ready
+# defaults to 4.x for -CURRENT; and 3.3.6 for all other branches
+.if ${OSVERSION} > 500025
+XFREE86_VERSION?= 4
+.else
XFREE86_VERSION?= 3
+.endif
.endif
# End of pre-makefile section.