aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/faad/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index 5c529b9197a4..1743e7ec7282 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 "