summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordumbbell <dumbbell@058c260c-8361-11dd-a0ac-aa2bafec7d09>2014-09-09 01:18:53 +0800
committerdumbbell <dumbbell@058c260c-8361-11dd-a0ac-aa2bafec7d09>2014-09-09 01:18:53 +0800
commitf9a3f0c401617d41da24ff9bb7db54e27230abe1 (patch)
tree4b1c9717112c58dc2fa074ddb93b8795ea77f978
parent4f9abaade7b5e17e5980913de5423aeee47a6f2c (diff)
downloadxorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar.gz
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar.bz2
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar.lz
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar.xz
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.tar.zst
xorg-devel-ports-f9a3f0c401617d41da24ff9bb7db54e27230abe1.zip
xf86-video-ati: Build 7.2.0 when on 9.3-RELEASE or when WITH_NEW_XORG is set
PR: 192382 Submitted by: kwm@ (earlier version) git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@1505 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--x11-drivers/xf86-video-ati/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-ati/Makefile b/x11-drivers/xf86-video-ati/Makefile
index 8ed1ea8..737a5fa 100644
--- a/x11-drivers/xf86-video-ati/Makefile
+++ b/x11-drivers/xf86-video-ati/Makefile
@@ -14,8 +14,15 @@ USE_XORG= xf86driproto xineramaproto xf86miscproto glproto
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 902508 || !defined(WITH_NEW_XORG) || \
- (${ARCH} != i386 && ${ARCH} != amd64)
+# 902510 = vt(9) merged into 9.2-stable
+.if ((${OSVERSION} >= 902510 && ${OSVERSION} < 1000000) || \
+ ${OSVERSION} > 1000051) && (${ARCH} == i386 || ${ARCH} == amd64)
+NEW_ATI_DRIVER= yes
+.else
+NEW_ATI_DRIVER= no
+.endif
+
+.if ${NEW_ATI_DRIVER} == no && !defined(WITH_NEW_XORG)
ATI_VERSION= 6.14.6
ATI_REVISION= 3
CONFIGURE_ARGS+=--disable-kms