svn commit: r356897 - head/games/linux-rtcw

Barbara Guida bar at FreeBSD.org
Sat Jun 7 12:02:18 UTC 2014


Author: bar
Date: Sat Jun  7 12:02:17 2014
New Revision: 356897
URL: http://svnweb.freebsd.org/changeset/ports/356897
QAT: https://qat.redports.org/buildarchive/r356897/

Log:
  Fix startup script for NVIDIA_GL setting a working __GL_ExtensionStringVersion.

Modified:
  head/games/linux-rtcw/Makefile

Modified: head/games/linux-rtcw/Makefile
==============================================================================
--- head/games/linux-rtcw/Makefile	Sat Jun  7 11:44:03 2014	(r356896)
+++ head/games/linux-rtcw/Makefile	Sat Jun  7 12:02:17 2014	(r356897)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rtcw
 DISTVERSION=	1.41b
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games linux
 MASTER_SITES=	${MASTER_SITE_IDSOFTWARE}
 MASTER_SITE_SUBDIR=	wolf/linux
@@ -33,6 +33,7 @@ NVIDIA_GL_DESC=	Use GL driver from nvidi
 
 .if ${PORT_OPTIONS:MNVIDIA_GL}
 RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+NVIDIA_GL_EXTVER=	'__GL_ExtensionStringVersion=18999 '
 .else
 USE_LINUX_APPS+=	dri
 .endif
@@ -45,7 +46,7 @@ do-build:
 .for f in ${WRAPPERS}
 	(${ECHO_CMD} "#!${SH}"; ${ECHO_CMD}; \
 	 ${ECHO_CMD} "cd ${DATADIR} || exit 1"; \
-	 ${ECHO_CMD} 'exec ./${f} "$$@"') > ${WRKDIR}/${f}
+	 ${ECHO_CMD} '${NVIDIA_GL_EXTVER}exec ./${f} "$$@"') > ${WRKDIR}/${f}
 .endfor
 
 do-install:


More information about the svn-ports-head mailing list