diff options
author | edwin <edwin@FreeBSD.org> | 2004-03-08 01:01:31 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-03-08 01:01:31 +0000 |
commit | 5d87bf6f020ae3177a26e679d65b5e50f035bbe1 (patch) | |
tree | ca9d8a7830bc4c19ec29804b066fc99d81d7488b /devel/libuta | |
parent | 476102ca837a76b18c930b013cb486ec3f0ce79e (diff) | |
download | FreeBSD-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 'devel/libuta')
-rw-r--r-- | devel/libuta/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/libuta/Makefile b/devel/libuta/Makefile index afe0341..6963395 100644 --- a/devel/libuta/Makefile +++ b/devel/libuta/Makefile @@ -29,6 +29,8 @@ INSTALLS_SHLIB= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" +WANT_SDL= yes + SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \ uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \ uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \ @@ -36,12 +38,12 @@ SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \ .include <bsd.port.pre.mk> -.if exists(${LOCALBASE}/lib/libSDL_mixer.so.2) +.if ${HAVE_SDL:Mmixer}!="" WITH_SDL_MIXER= yes .endif .if defined(WITH_SDL_MIXER) -USE_SDL= mixer sdl +USE_SDL+= mixer .endif post-patch: |