ports/72557: [MAINTAINER] multimedia/libquicktime: add jpeg-mmx support
Michael Johnson
ahze at ahze.net
Tue Oct 12 06:40:23 UTC 2004
>Number: 72557
>Category: ports
>Synopsis: [MAINTAINER] multimedia/libquicktime: add jpeg-mmx support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 12 06:40:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Johnson
>Release: FreeBSD 5.3-BETA6 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA6 FreeBSD 5.3-BETA6 #67: Fri Oct 1 15:03:41 EDT
>Description:
- add jpeg-mmx support
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- libquicktime-0.9.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/libquicktime/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile 27 Jul 2004 01:04:21 -0000 1.22
+++ Makefile 12 Oct 2004 06:34:02 -0000
@@ -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 @@
.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/* \
--- libquicktime-0.9.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list