ports/154319: [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
Eitan Adler
lists at eitanadler.com
Thu Jan 27 00:30:11 UTC 2011
The following reply was made to PR ports/154319; it has been noted by GNATS.
From: Eitan Adler <lists at eitanadler.com>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/154319: [patch] xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
Date: Wed, 26 Jan 2011 19:24:08 -0500
Silly me - I put the wrong thing in the first pr
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 27 Jan 2011 00:08:00 -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}/lib/xorg/modules/drivers/nvidia_drv.so:${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::
--
Eitan Adler
More information about the freebsd-ports-bugs
mailing list