ports/129091: Compile fix for x11-drivers/xf86-video-radeonhd-devel
Martin
nakal at web.de
Sun Nov 23 16:20:04 UTC 2008
>Number: 129091
>Category: ports
>Synopsis: Compile fix for x11-drivers/xf86-video-radeonhd-devel
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 23 16:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Martin
>Release: FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
FreeBSD zelda.local 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun Nov 2 17:24:12 CET 2008 root at zelda.local:/usr/obj/usr/src/sys/ZELDA amd64
>Description:
The port does not compile properly for me. I have a patch here that compiles the port as stated in INSTALL file, using ./autogen.sh.
>How-To-Repeat:
cd /usr/ports/x11-drivers/xf86-video-radeonhd-devel/ ; make install
or
portinstall -R xf86-video-radeonhd-devel
>Fix:
Patch for Makefile:
===================
--- Makefile 2008-11-23 17:11:25.000000000 +0100
+++ /root/Makefile 2008-11-23 17:09:19.000000000 +0100
@@ -21,9 +21,8 @@
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._]*
MAN4= radeonhd.4x
@@ -31,9 +30,6 @@
CONFIGURE_ARGS= --enable-exa --disable-dri
ACLOCAL_ARGS= --acdir=${LOCALBASE}/share/aclocal
-pre-configure:
- cd ${WRKSRC} && ${AUTORECONF} -i
-
.include <bsd.port.pre.mk>
.if defined(WITH_UTILS)
@@ -45,8 +41,12 @@
PLIST_SUB= UTILS="@comment "
.endif
-.if defined(WITH_UTILS)
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh
+
post-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/radeonhd.4x ${MANPREFIX}/man/man4/radeonhd.4x
+.if defined(WITH_UTILS)
${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_conntest ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/utils/conntest/rhd_dump ${PREFIX}/sbin
.endif
Patch for pkg-plist
===================
--- pkg-plist.bak 2008-11-23 17:16:59.000000000 +0100
+++ pkg-plist 2008-11-23 17:03:00.000000000 +0100
@@ -1,6 +1,5 @@
lib/xorg/modules/drivers/radeonhd_drv.la
lib/xorg/modules/drivers/radeonhd_drv.so
-lib/xorg/modules/drivers/radeonhd_drv.a
%%UTILS%%sbin/rhd_conntest
%%UTILS%%sbin/rhd_dump
@dirrmtry lib/xorg/modules/drivers
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list