aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-radeonhd-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-video-radeonhd-devel/Makefile')
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-radeonhd-devel/Makefile b/x11-drivers/xf86-video-radeonhd-devel/Makefile
index a4fd6dd750a6..e999cc877344 100644
--- a/x11-drivers/xf86-video-radeonhd-devel/Makefile
+++ b/x11-drivers/xf86-video-radeonhd-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xf86-video-radeonhd
PORTVERSION= 1.2.3.20081114
+PORTREVISION= 1
CATEGORIES= x11-drivers
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nork
@@ -17,19 +18,23 @@ COMMENT= X.Org ati RadeonHD display driver development version
BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/xorg-macros.m4:${PORTSDIR}/devel/xorg-macros
+.if !exists(${LOCALBASE}/lib/libpci.so.2)
OPTIONS= UTILS "Install rhd_conntest and rhd_dump utilities" off
+.else
+WITH_UTILS= yes
+.endif
XORG_CAT= driver
USE_XORG= damageproto videoproto xextproto xf86driproto
USE_AUTOTOOLS= aclocal:19 autoconf:262 libtool:15
-CONFLICT= xf86-video-radeonhd-[0-9]*
+CONFLICTS= xf86-video-radeonhd-[0-9]* xf86-video-ati-[0-9]*
MAN4= radeonhd.4x
# EXA is usable rather than XAA. DRI is not usable in this time.
CONFIGURE_ARGS= --enable-exa --disable-dri
-ACLOCAL_ARGS= --acdir=${LOCALBASE}/share/aclocal
+ACLOCAL_ARGS= --acdir=${LOCALBASE}/share/aclocal
pre-configure:
cd ${WRKSRC} && ${AUTORECONF} -i