aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-06-14 03:04:47 +0800
committerlofi <lofi@FreeBSD.org>2004-06-14 03:04:47 +0800
commit13cd91bf3d22d04c51f4634f1d6bf80a7b462357 (patch)
tree964e5205e06eeea2ac3a40c5c7e3ef7911d161b0
parent9d4f66b5b0745191364be5327843a35ff4bbef0f (diff)
downloadfreebsd-ports-graphics-13cd91bf3d22d04c51f4634f1d6bf80a7b462357.tar.gz
freebsd-ports-graphics-13cd91bf3d22d04c51f4634f1d6bf80a7b462357.tar.zst
freebsd-ports-graphics-13cd91bf3d22d04c51f4634f1d6bf80a7b462357.zip
Force using the bundled xvid even when ports xvid is installed
(mpeg4ip doesn't like the latest release).
-rw-r--r--multimedia/mpeg4ip/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index 8b89081156f..839bb7bc88c 100644
--- a/multimedia/mpeg4ip/Makefile
+++ b/multimedia/mpeg4ip/Makefile
@@ -116,6 +116,12 @@ post-patch:
-e 's|api.mpt||' \
-e 's|^(install-man.*)install-manm|\1|' \
${WRKSRC}/doc/mp4v2/Makefile.in
+# Disable xvid support - mpep4ip doesn't support xvid 1.0.x, but tries
+# to use it anyway.
+ @${REINPLACE_CMD} -e 's|use_mpeg4ip_xvid=false|use_mpeg4ip_xvid=true|g' \
+ -e 's|#define HAVE_XVID_H 1||g' \
+ ${WRKSRC}/configure
+
.if ${ARCH} != "i386"
# emms opcode should be noop in non-i386 non-MMX ARCH
@${ECHO_CMD} '#define EMMS()' \