aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-11-28 04:03:44 +0800
committerahze <ahze@FreeBSD.org>2004-11-28 04:03:44 +0800
commit99288cc750b096d4a2136b227f9e72e0d8212926 (patch)
treee6323961648d7f5c4217d9ad5a8b6e4ef23dcb86 /audio
parent76b0e6fbfe74cb2eaf6c3ad2476e000dda174fc7 (diff)
downloadfreebsd-ports-gnome-99288cc750b096d4a2136b227f9e72e0d8212926.tar.gz
freebsd-ports-gnome-99288cc750b096d4a2136b227f9e72e0d8212926.tar.zst
freebsd-ports-gnome-99288cc750b096d4a2136b227f9e72e0d8212926.zip
- Add a temporary work around if you have multimedia/mpeg4ip-libmp4v2 installed
without multimedia/mpeg4ip installed by adding a dependency on multimedia/mpeg4ip this also adds a new know WITH_MPEG4 for use of encoding mpeg4 audio PR: ports/74094 Reported by: many
Diffstat (limited to 'audio')
-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>