aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-26 18:12:59 +0800
committeredwin <edwin@FreeBSD.org>2004-01-26 18:12:59 +0800
commit09199effc02fbcd38a328880372c0c1e6a3cc3b1 (patch)
tree5be7acc3a2a05325e2529898c98c9b282bc97793 /multimedia
parentcfe05ef632c88d4742298d8996a8b8544052a2e6 (diff)
downloadfreebsd-ports-gnome-09199effc02fbcd38a328880372c0c1e6a3cc3b1.tar.gz
freebsd-ports-gnome-09199effc02fbcd38a328880372c0c1e6a3cc3b1.tar.zst
freebsd-ports-gnome-09199effc02fbcd38a328880372c0c1e6a3cc3b1.zip
Let multimedia/avifile use USE_SDL
PR: ports/61805 Approved by: "Holger Lamm" <holger@e-gitt.net>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avifile/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 8a6d91c4717b..f532ca0e71dc 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -28,8 +28,7 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LIBTOOLFILES= acinclude.m4
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-gnu-ld --enable-iconv \
@@ -48,7 +47,6 @@ CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 3
VERSION= 0.7
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
DIFF?= /usr/bin/diff
FMT?= /usr/bin/fmt
@@ -121,8 +119,7 @@ PLIST_SUB+= MAD="@comment "
# sdl
.if !defined(WITHOUT_SDL)
-LIB_DEPENDS+= SDL-1.1.5:${PORTSDIR}/devel/sdl12
-
+USE_SDL= sdl
CONFIGURE_ARGS+= --with-sdl-prefix=${LOCALBASE} \
--with-sdl-exec-prefix=${LOCALBASE}
.else
@@ -131,7 +128,7 @@ CONFIGURE_ARGS+= --without-sdl
# vidix support: requires root privileges
.if defined(WITH_VIDIX)
-CONFIGURE_ARGS+= --enable-vidix
+CONFIGURE_ARGS+= --enable-vidix
PLIST_SUB+= VIDIX=""
.else
CONFIGURE_ARGS+= --disable-vidix