Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2011 23:08:25 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        oliver@FreeBSD.org
Subject:   ports/156162: multimedia/audacious: make SSE2 optional
Message-ID:  <201104032108.p33L8PpY016341@olgeni.olgeni>
Resent-Message-ID: <201104032110.p33LABuP033974@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104032108.p33L8PpY016341>