- Introduce NVIDIA_GL option Currently, games/linux-rtcw is broken if nvidia-driver is installed, as it unconditionally depends on Linux dri. With the patch attached, Makefile allows setting the NVIDIA_GL option (much like any other games/linux-* port) which will depend on x11/nvidia-driver, or alternatively introduce the Linux dri. Generated with FreeBSD Port Tools 1.00.2014.03.18 (mode: change, diff: SVN)
Responsible Changed From-To: freebsd-ports-bugs->swills swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Author: swills Date: Thu Mar 20 03:36:25 2014 New Revision: 348660 URL: http://svnweb.freebsd.org/changeset/ports/348660 QAT: https://qat.redports.org/buildarchive/r348660/ Log: - Introduce NVIDIA_GL option PR: ports/187724 Submitted by: Johannes Jost Meixner <xmj@chaot.net> Modified: head/games/linux-rtcw/Makefile Modified: head/games/linux-rtcw/Makefile ============================================================================== --- head/games/linux-rtcw/Makefile Thu Mar 20 02:47:28 2014 (r348659) +++ head/games/linux-rtcw/Makefile Thu Mar 20 03:36:25 2014 (r348660) @@ -3,6 +3,7 @@ PORTNAME= rtcw DISTVERSION= 1.41b +PORTREVISION= 1 CATEGORIES= games linux MASTER_SITES= ${MASTER_SITE_IDSOFTWARE} MASTER_SITE_SUBDIR= wolf/linux @@ -15,7 +16,7 @@ COMMENT= Return to Castle Wolfenstein (L USES= makeself USE_LINUX= yes -USE_LINUX_APPS= dri xorglibs +USE_LINUX_APPS= xorglibs NO_WRKSUBDIR= yes WRAPPERS= wolf wolfded wolfsp @@ -25,7 +26,16 @@ PORTSCOUT= skipv:1.41-3 PORTDOCS= * -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NVIDIA_GL +NVIDIA_GL_DESC= Use GL driver from nvidia-driver + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNVIDIA_GL} +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver +.else +USE_LINUX_APPS+= dri +.endif # XXX: should probably be converted to use the LICENSE framework post-extract: _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!