aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libmpeg2
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-19 23:59:58 +0800
committerkrion <krion@FreeBSD.org>2004-03-19 23:59:58 +0800
commitd1d401e742d25f27b8a14100a35838be554f0ff3 (patch)
tree36e5e45396d86da351fb66b547eec3dd241050d3 /multimedia/libmpeg2
parentcf4fca93c1c86febb173cd5bb4f3f2d9f8af0470 (diff)
downloadfreebsd-ports-gnome-d1d401e742d25f27b8a14100a35838be554f0ff3.tar.gz
freebsd-ports-gnome-d1d401e742d25f27b8a14100a35838be554f0ff3.tar.zst
freebsd-ports-gnome-d1d401e742d25f27b8a14100a35838be554f0ff3.zip
- Utilize USE_SDL to prevent libraries chase in the future
Diffstat (limited to 'multimedia/libmpeg2')
-rw-r--r--multimedia/libmpeg2/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index e36ca404b6e6..adffa5962b44 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -21,7 +21,7 @@ USE_REINPLACE= yes
USE_SIZE= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --enable-shared \
+CONFIGURE_ARGS= --enable-shared \
--with-x
MAN1= extract_mpeg2.1 mpeg2dec.1
@@ -31,12 +31,8 @@ CONFIGURE_ARGS+= --enable-mga
.endif
.ifdef(WITH_SDL)
-LIB_DEPENDS+= SDL-1.1:${PORTSDIR}/devel/sdl12
-
+USE_SDL= yes
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libvo::configure.incl
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
-CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
CONFIGURE_ARGS+= --enable-sdl
.else
CONFIGURE_ARGS+= --disable-sdl