ports/120995: Remove openchrome driver name from QUIRKS in xorg-drivers port

Dimitry Andric dimitry at andric.com
Sat Feb 23 15:50:03 UTC 2008


>Number:         120995
>Category:       ports
>Synopsis:       Remove openchrome driver name from QUIRKS in xorg-drivers port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 23 15:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 7.0-RC2 i386
>Organization:
n/a
>Environment:
System: FreeBSD vfbsd7.home.andric.com 7.0-RC2 FreeBSD 7.0-RC2 #0: Sat Feb 9 15:24:32 CET 2008 dim at vfbsd7.home.andric.com:/usr/obj/usr/src/sys/VFBSD7 i386
>Description:
By default, in the xorg-drivers port, the openchrome video driver is
not enabled, in favor of the via driver.

However, if you disable the via driver and enable the openchrome
driver, the xorg-driver port insists on the file "via_drv.so"
existing in the X.org drivers directory, while the openchrome driver
actually installs a file called "openchrome_drv.so", since version
0.2.901 of the openchrome driver port:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-drivers/xf86-video-openchrome/pkg-plist.diff?r1=1.1;r2=1.2

The solution is to remove the name "mapping" via the QUIRKS variable
in the xorg-drivers Makefile.
>How-To-Repeat:
cd $portsdir/x11-drivers/xorg-drivers
make config
[turn OFF via video driver, turn ON openchrome driver]
make install

This will fail, because the via_drv.so file isn't found.
>Fix:

Index: x11-drivers/xorg-drivers/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-drivers/xorg-drivers/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- x11-drivers/xorg-drivers/Makefile	25 Dec 2007 07:35:52 -0000	1.8
+++ x11-drivers/xorg-drivers/Makefile	22 Feb 2008 16:33:55 -0000
@@ -68,7 +68,7 @@
 		tek4957 \
 		vmmouse void
 
-QUIRKS=		keyboard:kbd jamstudio:js_x openchrome:via
+QUIRKS=		keyboard:kbd jamstudio:js_x
 
 .if defined(XORG_COMPLETE)
 . for type in input video

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list