Hi,

right now we have three Linux DRI ports around:
- graphics/linux-dri74 (Ubuntu 9.09)
- graphics/linux_dri (unknown, PORTVERSION 7.0)
- graphics/linux-f10-dri

Currently graphics/linux-dri74 is the default.  I plan to modify
bsd.linux-apps.mk and bsd.port.mk to change this to linux-f10-dri, after
which the other two ports can be removed.

See the attached patch (INDEX build is fine, no runtime testing done yet).

Regards,
René
Index: Mk/bsd.linux-apps.mk
===================================================================
--- Mk/bsd.linux-apps.mk	(revision 321235)
+++ Mk/bsd.linux-apps.mk	(working copy)
@@ -141,7 +141,7 @@
 
 dri_f10_FILE=		${LINUXBASE}/usr/lib/libGL.so.1.2
 dri_DETECT=		${dri${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
-dri_PORT=		${PORTSDIR}/graphics/linux-dri74
+dri_PORT=		${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-dri
 dri_DEPENDS=		xorglibs
 
 esound_f10_FILE=	${LINUXBASE}/usr/lib/libesd.so.0.2.39
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk	(revision 321235)
+++ Mk/bsd.port.mk	(working copy)
@@ -1940,7 +1940,8 @@
 _GL_glu_USE_XORG=		glproto dri2proto
 _GL_glw_LIB_DEPENDS=		GLw.1:${PORTSDIR}/graphics/libGLw
 _GL_glut_LIB_DEPENDS=		glut.12:${PORTSDIR}/graphics/freeglut
-_GL_linux_RUN_DEPENDS=		${LINUXBASE}/usr/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux-dri74
+# XXX rene linux-dri port should have automated versioning as in bsd.linux-apps.mk
+_GL_linux_RUN_DEPENDS=		${LINUXBASE}/usr/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux-f10-dri
 
 .if defined(USE_GL)
 . if ${USE_GL:L} == "yes"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to