diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-29 11:25:10 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-29 11:25:10 +0000 |
commit | 123e8f3f97ec47df7136026ec4821747d73886ff (patch) | |
tree | beb76d78c4926745eb21d2145cd9bf6983e0146f /audio/faad | |
parent | e730d415d0d5f64a74c0981e533125e41e30e7f4 (diff) | |
download | ports-123e8f3f97ec47df7136026ec4821747d73886ff.tar.gz ports-123e8f3f97ec47df7136026ec4821747d73886ff.zip |
Notes
Diffstat (limited to 'audio/faad')
-rw-r--r-- | audio/faad/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile index a27de02f161d..97b591f08d3c 100644 --- a/audio/faad/Makefile +++ b/audio/faad/Makefile @@ -28,7 +28,7 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_INC_LIBTOOL_VER=13 USE_REINPLACE= yes -USE_SDL= yes +WANT_SDL= yes CONFIGURE_ARGS= --with-mp4v2 --with-drm CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ @@ -42,6 +42,7 @@ INSTALLS_SHLIB= yes PLIST_SUB+= WITHOUT_MPEG4IP="" PLUGIN="@comment " .else LIB_DEPENDS+= mp4.0:${PORTSDIR}/multimedia/mpeg4ip +USE_SDL= sdl PLIST_SUB+= WITHOUT_MPEG4IP="@comment " PLUGIN="" .endif @@ -67,8 +68,10 @@ post-patch: ${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake @${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \ ${WRKSRC}/aclocal.m4 +.if !defined(WITHOUT_MPEG4IP) @${REINPLACE_CMD} -e 's|<SDL|<SDL11|' \ ${WRKSRC}/plugins/mpeg4ip/faad2.cpp +.endif @${ECHO_CMD} "SUBDIRS = libfaad common frontend plugins" > \ ${WRKSRC}/Makefile.am .if ${OSVERSION} < 500000 |