aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-10-09 07:37:34 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-10-09 07:37:34 +0000
commit25ffb4fb92e6e572dd2d302b5e5c87a5e51defd3 (patch)
tree363d759500468759fe647fd29cc119372b1526bc /Mk
parent274d740c60f0c5aa0af98c5b0bda2d1e864f0b44 (diff)
downloadports-25ffb4fb92e6e572dd2d302b5e5c87a5e51defd3.tar.gz
ports-25ffb4fb92e6e572dd2d302b5e5c87a5e51defd3.zip
Notes
Diffstat (limited to '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.