Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 16:18:07 GMT
From:      Martin <nakal@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129091: Compile fix for x11-drivers/xf86-video-radeonhd-devel
Message-ID:  <200811231618.mANGI7Gk072394@www.freebsd.org>
Resent-Message-ID: <200811231620.mANGK34N027751@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811231618.mANGI7Gk072394>