aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/ogmtools/Makefile11
-rw-r--r--multimedia/ogmtools/distinfo2
2 files changed, 10 insertions, 3 deletions
diff --git a/multimedia/ogmtools/Makefile b/multimedia/ogmtools/Makefile
index 7509dcdf906b..823d81e98060 100644
--- a/multimedia/ogmtools/Makefile
+++ b/multimedia/ogmtools/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ogmtools
-PORTVERSION= 0.9.60
-PORTREVISION= 1
+PORTVERSION= 0.9.72
CATEGORIES= multimedia audio
MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.{2})$/\1/}
@@ -31,6 +30,14 @@ post-patch:
@${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \
's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!'
+# C{,XX}FLAGS safeness
+ @${REINPLACE_CMD} -E -e \
+ 's|^(CFLAGS).*(-DLINUX)|\1=${CFLAGS} \2|' \
+ ${WRKSRC}/avilib/Makefile.in
+ @${REINPLACE_CMD} -E -e \
+ 's|^(CFLAGS[[:space:]]*)=|\1+=|; \
+ s|^(CXXFLAGS[[:space:]]*)=|\1+=|' \
+ ${WRKSRC}/Makefile.in
post-configure:
# malloc.h -> stdlib.h
diff --git a/multimedia/ogmtools/distinfo b/multimedia/ogmtools/distinfo
index 1a45403f202f..0b6362e19d34 100644
--- a/multimedia/ogmtools/distinfo
+++ b/multimedia/ogmtools/distinfo
@@ -1 +1 @@
-MD5 (ogmtools-0.960.tar.bz2) = aef00596b4801e42e60f57af5212e891
+MD5 (ogmtools-0.972.tar.bz2) = e3b918d3c37b74704446cedc9a5747c6