ports/106752: [MAINTAINER] games/linux-nwnclient: fix dependency

Sean Farley sean-freebsd at farley.org
Fri Dec 15 03:50:12 UTC 2006


>Number:         106752
>Category:       ports
>Synopsis:       [MAINTAINER] games/linux-nwnclient: fix dependency
>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:   Fri Dec 15 03:50:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sean Farley
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Dec  2 12:38:39 CST
>Description:
Switch to using graphics/linux-libGLU when WITH_NVIDIA_GL is defined to
prevent nvidia-driver from deleting libGL out from under
graphics/linux_dri.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- linux-nwnclient-1.68.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/linux-nwnclient.orig/Makefile /usr/ports/games/linux-nwnclient/Makefile
--- /usr/ports/games/linux-nwnclient.orig/Makefile	Thu Dec  7 13:21:17 2006
+++ /usr/ports/games/linux-nwnclient/Makefile	Thu Dec 14 21:41:23 2006
@@ -18,11 +18,13 @@
 COMMENT=	Neverwinter Nights Linux (x86) Client
 
 RUN_DEPENDS=	${LOCALBASE}/share/nwndata/NWNv129.txt:${PORTSDIR}/games/nwndata \
-		${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
-		${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+		${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
 
-.ifdef(WITH_NVIDIA_GL)
-RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
+		${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU
+.else
+RUN_DEPENDS+=	${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
 .endif
 
 NO_BUILD=	yes
--- linux-nwnclient-1.68.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list