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 /multimedia/mjpegtools | |
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 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index 3789d43..89cd525 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -29,6 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS:S/"//g}" \ PTHREAD_LIBS="${PTHREAD_LIBS:S/"//g}" WANT_GNOME= yes +WANT_SDL= yes MAN1= divxdec.1 jpeg2yuv.1 lav2divx.1 lav2mpeg.1 lav2wav.1 lav2yuv.1 \ lavpipe.1 lavplay.1 lavrec.1 lavtrans.1 mjpegtools.1 mp2enc.1 \ @@ -76,7 +77,7 @@ WITH_LIBMOVTAR= yes WITH_QUICKTIME= yes .endif # SDL -.if exists(${LOCALBASE}/lib/libSDL-1.1.so.5) +.if ${HAVE_SDL}:Msdl}!="" WITH_SDL= yes .endif @@ -105,7 +106,7 @@ CONFIGURE_ARGS+= --with-movtar-prefix=${LOCALBASE} .endif # .ifdef(WITH_SDL) -USE_SDL= yes +USE_SDL= sdl CONFIGURE_ARGS+= --with-sdl .endif # |