diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile index f99d34f908f3..afc20c5f8c92 100644 --- a/games/linux-quake3-demo/Makefile +++ b/games/linux-quake3-demo/Makefile @@ -10,7 +10,7 @@ PORTNAME= quake3 DISTVERSION= 1.11-6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GENTOO} MASTER_SITE_SUBDIR= distfiles @@ -23,6 +23,7 @@ MAINTAINER= alepulver@FreeBSD.org COMMENT= Quake III Arena Demo USE_LINUX= yes +USE_GL= linux NO_BUILD= yes NO_WRKSUBDIR= yes @@ -40,23 +41,11 @@ do-install: @${MKDIR} ${DATADIR} @${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${DATADIR} @${CP} -R ${WRKSRC}/demoq3 ${DATADIR} - @${LN} -s ${GL_LIB} ${DATADIR}/libGL.so + @${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${DATADIR}/libGL.so .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} @${CP} -R ${WRKSRC}/Help/* ${DOCSDIR} .endif -.include - -.ifdef(WITH_NVIDIA_GL) -GL_LIB= ${LINUXBASE}/usr/lib/libGL.so.1 -GL_PORT= x11/nvidia-driver -.else -GL_LIB= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 -GL_PORT= graphics/linux_dri -.endif - -RUN_DEPENDS+= ${GL_LIB}:${PORTSDIR}/${GL_PORT} - -.include +.include