aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2008-12-07 19:51:45 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2008-12-07 19:51:45 +0000
commitea00be6db1a499dcf8ca42711ce255e4db54678a (patch)
tree166f6a3eca7597f18ac43944671edcafd22bfd56 /x11-drivers
parent78cdba8e1ae82d9a1addfea1e93a2bebf28a415e (diff)
downloadports-ea00be6db1a499dcf8ca42711ce255e4db54678a.tar.gz
ports-ea00be6db1a499dcf8ca42711ce255e4db54678a.zip
Notes
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/Makefile9
-rw-r--r--x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac12
2 files changed, 19 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
diff --git a/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac b/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac
new file mode 100644
index 000000000000..42aa74510a8f
--- /dev/null
+++ b/x11-drivers/xf86-video-radeonhd-devel/files/patch-configure.ac
@@ -0,0 +1,12 @@
+--- configure.ac.orig 2008-11-14 21:27:59.000000000 +0900
++++ configure.ac 2008-12-08 04:37:01.000000000 +0900
+@@ -21,6 +21,9 @@
+ dnl Define SED var without requiring AC_PROG_SED (new in autoconf-2.59b)
+ m4_ifdef([AC_PROG_SED], [AC_PROG_SED], [AC_SUBST([SED], [${SED-sed}])])
+
++dnl Define MKDIR_P var without requiring AC_PROG_MKDIR_P (new in autoconf-2.59b)
++m4_ifdef([AC_PROG_MKDIR_P], [AC_PROG_MKDIR_P], [AC_SUBST([MKDIR_P], [${MKDIR_P-mkdir -p}])])
++
+ AC_MSG_CHECKING([whether $SED can substitute tabs and newlines for text])
+ dnl One tab, a letter and two newlines
+ cat>sed-test.1<<EOF