Date: Thu, 20 Aug 2009 00:10:04 GMT From: Alberto Villa <villa.alberto@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137981: [maintainer update] Update port: multimedia/mlt - add options to disable mmx and sse Message-ID: <200908200010.n7K0A4Yf007523@www.freebsd.org> Resent-Message-ID: <200908200020.n7K0K2JN000502@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137981 >Category: ports >Synopsis: [maintainer update] Update port: multimedia/mlt - add options to disable mmx and sse >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: Thu Aug 20 00:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alberto Villa >Release: FreeBSD 8-STABLE >Organization: >Environment: FreeBSD echo.hoth 8.0-BETA2 FreeBSD 8.0-BETA2 #11: Sat Aug 15 17:55:03 CEST 2009 root@echo.hoth:/usr/obj/usr/src/sys/TPR60 i386 >Description: building mlt on some x86-64 systems with mmx (and sse?) enabled can result in a fail >How-To-Repeat: build mlt on some x86-64 systems: chances are you'll get a failed build (reported upstream, confirmed by dima panov) >Fix: optionally disable mmx (and sse) with make config Patch attached with submission follows: --- /usr/ports/.zfs/snapshot/pre-kdelibs3/multimedia/mlt/Makefile 2009-07-10 09:59:08.870894163 +0200 +++ Makefile 2009-08-20 02:00:01.382625269 +0200 @@ -6,6 +6,7 @@ PORTNAME= mlt PORTVERSION= 0.4.4 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SFE @@ -37,9 +38,11 @@ GTK2 "GTK2 module" on \ JACKRACK "JACK Rack module" on \ KINO "Kino module" on \ + MMX "MMX support (might cause problems on x86-64)" off \ QIMAGE "Qimage module" on \ RESAMPLE "Secret Rabbit Code module" on \ SOX "Sound eXchange module" on \ + SSE "SSE support (requires MMX, caution on x86-64)" off \ VORBIS "Vorbis module" on .include <bsd.port.pre.mk> @@ -101,6 +104,12 @@ PLIST_SUB+= KINO="@comment " .endif +.ifdef(WITH_MMX) +CONFIGURE_ARGS+= --enable-mmx +.else +CONFIGURE_ARGS+= --disable-mmx +.endif + .ifdef(WITH_QIMAGE) CONFIGURE_ARGS+= --enable-qimage \ --qimage-includedir="${QT_INCDIR}" \ @@ -130,6 +139,12 @@ PLIST_SUB+= SOX="@comment " .endif +.ifdef(WITH_SSE) +CONFIGURE_ARGS+= --enable-sse +.else +CONFIGURE_ARGS+= --disable-sse +.endif + .ifdef(WITH_VORBIS) LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis CONFIGURE_ARGS+= --enable-vorbis @@ -147,7 +162,6 @@ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/melt/Makefile \ ${WRKSRC}/src/modules/*/Makefile - # required by FreeBSD 6 @${REINPLACE_CMD} -E -e 's|^(LDFLAGS.*)|\1 -lthr|' \ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/modules/avformat/Makefile \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908200010.n7K0A4Yf007523>