summaryrefslogtreecommitdiff
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
parentUpdate to 0.24.1. (diff)
Switch to building -current ports against XFree86 4.x.
Approved by: silence from portmgr
Notes
Notes: svn path=/head/; revision=48590
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.