summaryrefslogtreecommitdiffstats
path: root/games/quake2forge
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-03-08 01:01:31 +0000
committeredwin <edwin@FreeBSD.org>2004-03-08 01:01:31 +0000
commit5d87bf6f020ae3177a26e679d65b5e50f035bbe1 (patch)
treeca9d8a7830bc4c19ec29804b066fc99d81d7488b /games/quake2forge
parent476102ca837a76b18c930b013cb486ec3f0ce79e (diff)
downloadFreeBSD-ports-5d87bf6f020ae3177a26e679d65b5e50f035bbe1.zip
FreeBSD-ports-5d87bf6f020ae3177a26e679d65b5e50f035bbe1.tar.gz
Properly use SDL everywhere:
USE_SDL=yes -> USE_SDL=sdl (good examles everywhere) WANT_SDL/HAVE_SDL instead of exists(localbase/lib/lib...) See http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-sdl.html for more information on how to use USE_SDL, WANT_SDL and HAVE_SDL. PR: follow-ups of ports/55494, ports/61877 Submitted by: Edwin Groothuis <edwin@mavetju.org>
Diffstat (limited to 'games/quake2forge')
-rw-r--r--games/quake2forge/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index 715642a..03881b1 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -21,6 +21,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
USE_XLIB= yes
INSTALLS_SHLIB= yes
+WANT_SDL= yes
LDCONFIG_DIRS= ${PREFIX}/lib/quake2 ${PREFIX}/lib/quake2/baseq2 ${PREFIX}/lib/quake2/ctf
.include <bsd.port.pre.mk>
@@ -28,7 +29,7 @@ LDCONFIG_DIRS= ${PREFIX}/lib/quake2 ${PREFIX}/lib/quake2/baseq2 ${PREFIX}/lib/qu
CONFIGURE_ARGS= --enable-static=no --program-transform-name='s/^quake2$$/q2f/'
CONFIGURE_TARGET=
-.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5)
+.if ${HAVE_SDL:Msdl}!=""
WITH_SDL= yes
.endif
OpenPOWER on IntegriCloud