1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11-drivers/xf86-video-ati/Makefile
Niclas Zeising aeeb855c1b Fix build with old xorg on 10-CURRENT.
Submitted by:	Fredrik Nystrom <fredrik@lysator.liu.se>
2013-10-01 17:56:36 +00:00

30 lines
604 B
Makefile

# $FreeBSD$
PORTNAME= xf86-video-ati
PORTVERSION= ${ATI_VERSION}
CATEGORIES= x11-drivers
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org ati display driver
USE_GL= gl
XORG_CAT= driver
USE_XORG= xf86driproto xineramaproto xf86miscproto glproto
MAN4= ati.4x radeon.4x
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000051 || !defined(WITH_NEW_XORG)
ATI_VERSION= 6.14.6
CONFIGURE_ARGS+=--disable-kms
PLIST_SUB+= OLD=""
.else
ATI_VERSION= 7.2.0
CONFIGURE_ARGS+=--disable-udev
EXTRA_PATCHES+= ${FILESDIR}/extra-src__radeon_kms.c
PLIST_SUB+= OLD="@comment "
.endif
.include <bsd.port.post.mk>