summaryrefslogtreecommitdiffstats
path: root/audio/faad
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-10-18 02:19:57 +0000
committermezz <mezz@FreeBSD.org>2004-10-18 02:19:57 +0000
commit4cb928fbbd43bb49e5d5931e8e97dc123df2b40f (patch)
tree58f0b0e544d11db8714123e2f8dbe0573209b43e /audio/faad
parent98cd68a7a46225f1402d9b539602b53e0d1c267e (diff)
downloadFreeBSD-ports-4cb928fbbd43bb49e5d5931e8e97dc123df2b40f.zip
FreeBSD-ports-4cb928fbbd43bb49e5d5931e8e97dc123df2b40f.tar.gz
Only define WITHOUT_MPEG4IP for >=502126 and if you don't already have mpeg4ip
previously installed. This is also only a temp fix until mpeg4ip is updated (ports/72206) or fixed. PR: ports/72799 Submitted by: Michael Johnson <ahze@ahze.net> (maintainer) Pointed out by: spamrefuse@yahoo.com
Diffstat (limited to 'audio/faad')
-rw-r--r--audio/faad/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index 5c529b9..1743e7e 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -39,10 +39,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
# mpeg4ip is broke for now, disable it.
+.if ${OSVERSION} >= 502126
+.if !exists(${LOCALBASE}/lib/libmp4v2.so)
WITHOUT_MPEG4IP=yes
-
-.include <bsd.port.pre.mk>
+.endif
+.endif
.if defined(WITHOUT_MPEG4IP)
PLIST_SUB+= WITHOUT_MPEG4IP="" PLUGIN="@comment "
OpenPOWER on IntegriCloud