1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

- Use jpeg-mmx on i386

PR:		ports/72557
Submitted by:	Michael Johnson <ahze@ahze.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-10-16 14:57:17 +00:00
parent 3b4c9025f9
commit fea2fe3c5c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119593

View File

@ -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/* \