aboutsummaryrefslogtreecommitdiff
path: root/games/q3cellshading
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2018-09-10 19:56:32 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2018-09-10 19:56:32 +0000
commit87e2a6b841080863a0ea05dc0698030b7554b15f (patch)
treed997362158dfb564d710a8f557c25564a49d9a49 /games/q3cellshading
parentfae7aa4feaebea8431eb76ec7b7b0fa066e90dfc (diff)
Change USE_GL to become USES=gl.
Change USE_GL to become USES=gl. You still need to specify USE_GL as well, to specify which gl components you need, such as egl glesv2 glut glu glw gl. Only specifying USE_GL is supported for now, to ease in transition. It is however deprecated, and will be removed eventually. Specifying USES=gl without USE_GL is an error. USE_GL=yes is also deprecated, but supported for now. It implies USE_GL=glu. Fix fallout from this change. PR: 230692 Approved by: portmgr (antoine) exp-run by: antoine Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D16774
Notes
Notes: svn path=/head/; revision=479445
Diffstat (limited to 'games/q3cellshading')
-rw-r--r--games/q3cellshading/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile
index d0a8667e2c72..5af9d0fe8f05 100644
--- a/games/q3cellshading/Makefile
+++ b/games/q3cellshading/Makefile
@@ -36,7 +36,7 @@ DEDICATED_DESC= Build dedicated server
GAMELIBS_DESC= Force building game libraries
SMP_CLIENT_DESC= Build SMP (threaded) client
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:devel/nasm
@@ -80,6 +80,8 @@ MAKE_ENV+= SMP=YES
Q3BIN+= quake3-smp
.endif
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|botlib\.log|/dev/null|' \
${WRKSRC}/code/botlib/be_interface.c