From 280a44a82d0ddd2c7456b102cc0dedfb1879f291 Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 4 Jun 2007 05:20:33 +0000 Subject: Get it links with -lavcodec instead of libavcodec.a to fix the runtime of mp4player and gmp4player to run video file. Bump the PORTREVISION. Reported by: Heiko Recktenwald --- multimedia/mpeg4ip/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'multimedia/mpeg4ip') diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile index 127650ee954b..9af28075deff 100644 --- a/multimedia/mpeg4ip/Makefile +++ b/multimedia/mpeg4ip/Makefile @@ -7,7 +7,7 @@ PORTNAME= mpeg4ip PORTVERSION= 1.5.0.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -137,7 +137,7 @@ PLIST_SUB+= XVID="@comment " .endif post-patch: - ${TOUCH} -f ${WRKSRC}/bootstrapped + @${TOUCH} -f ${WRKSRC}/bootstrapped # don't compile or use libmp4v2 @${REINPLACE_CMD} -e 's|mp4v2||; s|gnu||; s|mp4av||' \ ${WRKSRC}/lib/Makefile.in @@ -182,6 +182,8 @@ post-patch: ${WRKSRC}/doc/mp4v2/Makefile.in # objformat @${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} -e 's|echo aout|echo elf|' + @${REINPLACE_CMD} -e 's|$${enable_ffmpeg}/lib/libavcodec.a|-lavcodec|g' \ + ${WRKSRC}/configure post-install: @${MKDIR} ${DATADIR} -- cgit