1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

[BUG]: games/linux-nwnclient dependency problem

The linux-nwnclient port checks to see if WITH_NVIDIA_GL is defined to
	determine whether or not it should depend on the nvidia-driver
	instead of linux_dri. However, both dependencies are needed
	as linux_dri provides 'libGLU.so.1', which does not come
	with the nvidia-driver. This is needed in order to run
	linux-nwnclient.

	I use the nvidia-driver port and had to install linux_dri
	by hand after installing nwn. It seems to be working fine
	in conjunction with the driver.

	My suggestion is to either drop the nvidia-driver dependency
	entirely, or at least depend on linux_dri whether WITH_NVIDIA_GL
	is defined or not.
This commit is contained in:
Edwin Groothuis 2005-12-20 21:18:54 +00:00
parent 1ed4f1d402
commit 9a7cbd9494
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151681

View File

@ -18,12 +18,11 @@ MAINTAINER= ports@FreeBSD.org
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/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.ifdef(WITH_NVIDIA_GL)
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
.else
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.endif
NO_BUILD= yes