Fix NVIDIA_GL option description and rename option to NVIDIA.

PR:		ports/175885
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
This commit is contained in:
Niclas Zeising 2013-02-06 18:45:10 +00:00
parent c40875d854
commit 54d686c389
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311789

View File

@ -29,8 +29,8 @@ WRKSRC= ${WRKDIR}/Mesa-${PORTVERSION}/
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
OPTIONS_DEFINE= NVIDIA_GL XCB
NVIDIA_DESC= Use NVIDIA's libraries
OPTIONS_DEFINE= NVIDIA XCB
NVIDIA_DESC= Use NVIDIA's OpenGL libraries
XCB_DESC= Use XCB for GLX
.include <bsd.port.options.mk>
@ -77,7 +77,7 @@ do-install:
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MNVIDIA_GL}
.if ${PORT_OPTIONS:MNVIDIA}
CFLAGS+= -DWITH_NVIDIA_GL=1
.endif