svn commit: r348660 - head/games/linux-rtcw
Steve Wills
swills at FreeBSD.org
Thu Mar 20 03:36:25 UTC 2014
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 at 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:
More information about the svn-ports-head
mailing list