diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-03-08 09:01:31 +0800 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-03-08 09:01:31 +0800 |
commit | 672c044e2eee3598f19a0f5e618e0c2fe8aea68d (patch) | |
tree | 771bbdda8fc0a17d5351cfa925732955ccc44706 /multimedia/ffmpeg | |
parent | 86240c80e62c10278c8b2c49d61a2198db15e6ed (diff) | |
download | freebsd-ports-gnome-672c044e2eee3598f19a0f5e618e0c2fe8aea68d.tar.gz freebsd-ports-gnome-672c044e2eee3598f19a0f5e618e0c2fe8aea68d.tar.zst freebsd-ports-gnome-672c044e2eee3598f19a0f5e618e0c2fe8aea68d.zip |
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/ffmpeg')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 67b0f555b100..390da734ce52 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -20,6 +20,7 @@ HAS_CONFIGURE= yes USE_GMAKE= yes USE_REINPLACE= yes USE_SIZE= yes +WANT_SDL= yes CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \ --make="${GMAKE}" --enable-shared \ --extra-ldflags="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ @@ -59,7 +60,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-bktr-patch-libavformat::Makefile ## ## ## SDL -.if exists(${LOCALBASE}/lib/libSDL-1.1.so) +.if ${HAVE_SDL:Msdl} WITH_SDL=yes .endif ## freetype2 @@ -116,7 +117,7 @@ CONFIGURE_ARGS+= --disable-mmx .endif ## SDL .ifdef(WITH_SDL) -USE_SDL= yes +USE_SDL= sdl PLIST_SUB+= SDL="" .else |