aboutsummaryrefslogtreecommitdiffstats
path: root/x11-drivers/xf86-video-ati/Makefile
blob: 6809b2a9a33b15e01defef9d3a6336d800297b0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=   xf86-video-ati
PORTVERSION=    7.5.0
PORTREVISION=   3
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 \
        presentproto
INSTALL_TARGET= install-strip
# No Radeon kernel driver on non-x86 and PC98.
ONLY_FOR_ARCHS= i386 amd64

CONFIGURE_ARGS+=--disable-udev
CONFIGURE_ARGS+=--disable-glamor

.include <bsd.port.options.mk>

.if (${OSVERSION} >= 903000 && ${OSVERSION} < 1000000)
RUN_DEPENDS+=   drm-kmod>=9:x11-drivers/drm-kmod

post-patch:
    @${REINPLACE_CMD} -e 's|"radeonkms"|"radeonkms_port"|g' \
        ${WRKSRC}/src/radeon_kms.c
.endif

.include <bsd.port.mk>