aboutsummaryrefslogtreecommitdiff
path: root/audio/faac
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-11-27 20:03:44 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-11-27 20:03:44 +0000
commit56d44d1f15b9b1b4da0a0a17964bbc28ed6c7a6a (patch)
tree58fe84f4f41a0631e84471dddf23b5d9ffca9344 /audio/faac
parente61119f77a72d0b82b628b71241506fb244641ad (diff)
downloadports-56d44d1f15b9b1b4da0a0a17964bbc28ed6c7a6a.tar.gz
ports-56d44d1f15b9b1b4da0a0a17964bbc28ed6c7a6a.zip
Notes
Diffstat (limited to 'audio/faac')
-rw-r--r--audio/faac/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 61a72b14bd48..df7b36c11a76 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -31,6 +31,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libmp4v2.a) || defined(WITH_MPEG4) || defined(WITH_MPEG4IP)
+LIB_DEPENDS+= mp4.0:${PORTSDIR}/multimedia/mpeg4ip
+.endif
+
pre-patch: build-depends
post-patch:
@@ -40,4 +46,4 @@ post-patch:
${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
${WRKSRC}/aclocal.m4
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>