aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/mpeg4ip/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index 268fe76ea1ab..12d0522229e2 100644
--- a/multimedia/mpeg4ip/Makefile
+++ b/multimedia/mpeg4ip/Makefile
@@ -16,10 +16,10 @@ COMMENT= Standards-based system to encode, stream and play MPEG-4 audio/video
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm \
pkg-config:${PORTSDIR}/devel/pkgconfig
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
USE_GNOME= gtk20
USE_GMAKE= yes
+USE_SDL= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --datadir=${DATADIR} \
@@ -30,8 +30,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
DOC_FILES= COPYING README doc/MPEG4IP_Guide.pdf
MAN1= gmp4player.1 mp4creator.1 mp4encode.1 mp4live.1
@@ -93,7 +91,7 @@ post-extract:
.include <bsd.port.pre.mk>
post-patch:
- @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} -n 10 \
+ @${FIND} ${WRKSRC} -type f -name "*.[ch]" -or -name "*.cpp" | ${XARGS} -n 10 \
${REINPLACE_CMD} -e \
's|stdint\.h|inttypes.h|;s|malloc\.h|stdlib.h|'
# replacing distfile's libs with ports' versions