Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 12:02:18 +0000 (UTC)
From:      Barbara Guida <bar@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356897 - head/games/linux-rtcw
Message-ID:  <201406071202.s57C2Ipo081682@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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