aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libquicktime
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-16 22:57:17 +0800
committerpav <pav@FreeBSD.org>2004-10-16 22:57:17 +0800
commitaaaf531eaea509f71c622e99ee59a3ff7269f613 (patch)
tree68eb83db5bfe8eff368bda054727d53ea94df7a7 /multimedia/libquicktime
parentd7263a5a5634b5d5d7c01fc9b9ac62e25cd4391e (diff)
downloadfreebsd-ports-gnome-aaaf531eaea509f71c622e99ee59a3ff7269f613.tar.gz
freebsd-ports-gnome-aaaf531eaea509f71c622e99ee59a3ff7269f613.tar.zst
freebsd-ports-gnome-aaaf531eaea509f71c622e99ee59a3ff7269f613.zip
- Use jpeg-mmx on i386
PR: ports/72557 Submitted by: Michael Johnson <ahze@ahze.net> (maintainer)
Diffstat (limited to 'multimedia/libquicktime')
-rw-r--r--multimedia/libquicktime/Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/multimedia/libquicktime/Makefile b/multimedia/libquicktime/Makefile
index daa8da676e72..0e126e0476b0 100644
--- a/multimedia/libquicktime/Makefile
+++ b/multimedia/libquicktime/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libquicktime
PORTVERSION= 0.9.3
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -48,12 +49,31 @@ PORTDOCS= codecs.html \
.include <bsd.port.pre.mk>
-.if defined(WITH_MMX) && (${ARCH} == "i386")
+.if ${ARCH} != "i386"
+WITHOUT_MMX= yes
+WITHOUT_JPEGMMX=yes
+.endif
+
+.if !defined(WITHOUT_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS+= --enable-mmx
.else
CONFIGURE_ARGS+= --disable-mmx
.endif
+.if !defined(WITHOUT_MMX) && !defined(WITHOUT_JPEGMMX)
+LIB_DEPENDS+= jpeg-mmx.62:${PORTSDIR}/graphics/jpeg-mmx
+.endif
+
+pre-everything::
+.if !defined(WITHOUT_MMX)
+ @${ECHO_MSG} "===> Define WITHOUT_MMX if your system does not support MMX"
+ @${ECHO_MSG} "===>"
+.endif
+.if !defined(WITHOUT_JPEGMMX)
+ @${ECHO_MSG} "===> Define WITHOUT_JPEGMMX to disable graphics/jpeg-mmx support"
+ @${ECHO_MSG} "===>"
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
${WRKSRC}/plugins/audiocodec/* \