aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-10 06:51:03 +0800
committergahr <gahr@FreeBSD.org>2008-07-10 06:51:03 +0800
commit0cb8223460c73303d72a2ec67fba649bfab4c3c2 (patch)
tree87396982285381d67ed43516636fc444427018b5 /multimedia
parent556cec64fadf20596f17c6d77caf5e9b56653dca (diff)
downloadfreebsd-ports-gnome-0cb8223460c73303d72a2ec67fba649bfab4c3c2.tar.gz
freebsd-ports-gnome-0cb8223460c73303d72a2ec67fba649bfab4c3c2.tar.zst
freebsd-ports-gnome-0cb8223460c73303d72a2ec67fba649bfab4c3c2.zip
- Unbreak on > 700000 (add dependency on GCC 3.4)
PR: 115336 Submitted by: douglas steinwand <dzs-pr@dzs.fx.org> Approved by: maintainer timeout (11 months)
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avifile/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 9d3ca6054636..46be7f53ae26 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -68,7 +68,7 @@ WITH_OPTIMIZED_CFLAGS= yes
.endif
.if ${OSVERSION} >= 700000
-BROKEN= Numerous compile errors under gcc 4.2
+USE_GCC= 3.4
.endif
.if (${ARCH} != "i386") && (${ARCH} != "amd64")
@@ -294,6 +294,10 @@ post-patch:
@${REINPLACE_CMD} -E \
-e 's|^subdirs[[:space:]]*=.*libmad.*$$||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.if ${OSVERSION} > 700000
+ @${REINPLACE_CMD} -e 's|LIBTOOL)|LIBTOOL) --tag=gcc|g' \
+ ${WRKSRC}/ffmpeg/libavcodec/ppc/Makefile.in
+.endif
post-configure:
@${LN} -sf ${LIBTOOL} ${WRKSRC}/libtool