aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gmerlin-avdecoder
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2009-02-08 18:45:38 +0000
committerRobert Noland <rnoland@FreeBSD.org>2009-02-08 18:45:38 +0000
commitc6542427d4a359425d5b03a8e1459ff124056728 (patch)
treea92303e63e8cb81dd54aec602994b09ff66d0eaa /multimedia/gmerlin-avdecoder
parent51fdedf3f9a4eb659a58e30ebe8e1fcaef60dea6 (diff)
Notes
Diffstat (limited to 'multimedia/gmerlin-avdecoder')
-rw-r--r--multimedia/gmerlin-avdecoder/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/gmerlin-avdecoder/Makefile b/multimedia/gmerlin-avdecoder/Makefile
index 60afc9412925..4986b075c4ff 100644
--- a/multimedia/gmerlin-avdecoder/Makefile
+++ b/multimedia/gmerlin-avdecoder/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmerlin-avdecoder
PORTVERSION= 0.1.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF/gmerlin
@@ -129,7 +129,7 @@ CONFIGURE_ARGS+=--disable-faad2
.endif
.if !defined(WITHOUT_DVDREAD)
-LIB_DEPENDS+= dvdread.5:${PORTSDIR}/multimedia/libdvdread
+LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread
.else
CONFIGURE_ARGS+=--disable-dvdread
.endif
@@ -181,6 +181,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-O3 -funroll-all-loops -ffast-math||g; \
/LIBS/ s|-ldl||g; s|^LDFLAGS="|&$${LDFLAGS} |' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|#if DVDREAD_VERSION < 905|#if DVDREAD_VERSION < 904|' \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^LIBS = / s|$$| @LIBINTL@ -lz|' \
${WRKSRC}/tests/Makefile.in
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/lib/in_smb.c