Bug 154319 - [patch] x11/xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
Summary: [patch] x11/xorg-mininal should work correctly for VIDEO_DRIVER=nvidia
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 23:40 UTC by Eitan Adler
Modified: 2011-02-26 22:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.06 KB, patch)
2011-01-26 23:40 UTC, Eitan Adler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eitan Adler freebsd_committer freebsd_triage 2011-01-26 23:40:03 UTC
At the moment nvidia doesn't work as a driver for xorg-mininal. This patch adds support for it.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2011-01-27 00:24:08 UTC
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
Comment 2 Koop Mast freebsd_committer freebsd_triage 2011-02-26 22:19:44 UTC
State Changed
From-To: open->closed

Committed thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-02-26 22:19:49 UTC
kwm         2011-02-26 22:19:43 UTC

  FreeBSD ports repository

  Modified files:
    x11/xorg-minimal     Makefile 
  Log:
  Bump version to 7.5.1 to be inline with xorg.
  
  Add support for VIDEO_DRIVER=nvidia [1].
  
  PR:             ports/154319 [1]
  Submitted by:   Eitan Adler <lists@eitanadler.com> (maintainer)
  
  Revision  Changes    Path
  1.9       +6 -3      ports/x11/xorg-minimal/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"