aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avifile/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-26 10:12:59 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-26 10:12:59 +0000
commitbfd9a1da9b93eaab8b8dbe9a54a8a7283987c947 (patch)
tree17d417ea018f2629e1839d0e77a0016f91f4887b /multimedia/avifile/Makefile
parent14abf04a470c86050aee44cc44a7baf158da6e1a (diff)
downloadports-bfd9a1da9b93eaab8b8dbe9a54a8a7283987c947.tar.gz
ports-bfd9a1da9b93eaab8b8dbe9a54a8a7283987c947.zip
Notes
Diffstat (limited to 'multimedia/avifile/Makefile')
-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