diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-16 14:57:17 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-10-16 14:57:17 +0000 |
commit | fea2fe3c5ce7a83fed31f9805244d2cfea1adcbe (patch) | |
tree | d1d989a43c75fe60bdf3e91b6e2793296f04afa5 /multimedia/libquicktime | |
parent | 3b4c9025f9367dcdf00d7e6e7af889b972c7b9a9 (diff) | |
download | ports-fea2fe3c5ce7a83fed31f9805244d2cfea1adcbe.tar.gz ports-fea2fe3c5ce7a83fed31f9805244d2cfea1adcbe.zip |
Notes
Diffstat (limited to 'multimedia/libquicktime')
-rw-r--r-- | multimedia/libquicktime/Makefile | 22 |
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/* \ |