Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 21:43:47 -0600 (CST)
From:      Sean Farley <sean-freebsd@farley.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/106752: [MAINTAINER] games/linux-nwnclient: fix dependency
Message-ID:  <200612150343.kBF3hlj0051987@thor.farley.org>
Resent-Message-ID: <200612150350.kBF3o7qS067627@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612150343.kBF3hlj0051987>