ports/154319: [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia

Eitan Adler lists at eitanadler.com
Wed Jan 26 23:40:04 UTC 2011


>Number:         154319
>Category:       ports
>Synopsis:       [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 23:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
At the moment nvidia doesn't work as a driver for xorg-mininal. This patch adds support for it.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xorg-minimal/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	26 Nov 2010 22:02:35 -0000	1.8
+++ Makefile	26 Jan 2011 23:13:37 -0000
@@ -22,12 +22,17 @@
 VIDEO_DRIVER?=	vesa
 
 RUN_DEPENDS+=	${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server \
-		${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER} \
 		${LOCALBASE}/lib/xorg/modules/input/mouse_drv.so:${PORTSDIR}/x11-drivers/xf86-input-mouse \
 		${LOCALBASE}/lib/xorg/modules/input/kbd_drv.so:${PORTSDIR}/x11-drivers/xf86-input-keyboard \
 		${LOCALBASE}/bin/xinit:${PORTSDIR}/x11/xinit \
 		${LOCALBASE}/bin/xauth:${PORTSDIR}/x11/xauth
 
+.if ${VIDEO_DRIVER} == "nvidia"
+RUN_DEPENDS+=	${LOCALBASE}/bin/nvidia-settings:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+=	${LOCALBASE}/lib/xorg/modules/drivers/${VIDEO_DRIVER}_drv.so:${PORTSDIR}/x11-drivers/xf86-video-${VIDEO_DRIVER}
+.endif
+
 do-install:
 
 pre-everything::


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



More information about the freebsd-ports-bugs mailing list