ports/156162: multimedia/audacious: make SSE2 optional

Jimmy Olgeni olgeni at FreeBSD.org
Sun Apr 3 21:10:12 UTC 2011


>Number:         156162
>Category:       ports
>Synopsis:       multimedia/audacious: make SSE2 optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 03 21:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
>Description:
The attached patch adds an SSE2 option to force --disable-sse2 in
configure.

It can be used to disable SSE2 during package builds for very old
i386 machines... (*ehm*)

Port maintainer (oliver at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- audacious-2.4.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/audacious/Makefile,v
retrieving revision 1.55
diff -u -u -r1.55 Makefile
--- Makefile	4 Mar 2011 10:43:58 -0000	1.55
+++ Makefile	3 Apr 2011 21:04:44 -0000
@@ -36,7 +36,8 @@
 		DBUS	"Build with dbus support"			on  \
 		GNOME	"Build with gconf support"			off \
 		NLS	"Native Language Support"			on  \
-		EXECINFO "Build with libexecinfo support"		on
+		EXECINFO "Build with libexecinfo support"		on  \
+		SSE2	"Build with SSE2 instruction set"		on
 
 .include <bsd.port.pre.mk>
 
@@ -71,6 +72,10 @@
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+.if defined(WITHOUT_SSE2)
+CONFIGURE_ARGS+=--disable-sse2
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
 		${WRKSRC}/Makefile
--- audacious-2.4.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list