From f9a3f0c401617d41da24ff9bb7db54e27230abe1 Mon Sep 17 00:00:00 2001 From: dumbbell Date: Mon, 8 Sep 2014 17:18:53 +0000 Subject: 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 --- x11-drivers/xf86-video-ati/Makefile | 11 +++++++++-- 1 file 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 -.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 -- cgit v1.2.3