From 347b923f3497e95d6b024a9dca3cb2cf6d918549 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Thu, 14 Apr 2011 06:24:14 +0000 Subject: make SSE2 optional PR: ports/156162 Submitted by: olgeni --- multimedia/audacious/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'multimedia/audacious') diff --git a/multimedia/audacious/Makefile b/multimedia/audacious/Makefile index 9b9aad6b40a8..42bac367b73b 100644 --- a/multimedia/audacious/Makefile +++ b/multimedia/audacious/Makefile @@ -36,7 +36,8 @@ OPTIONS= CHARSET "Build with automatic charset detection" off \ 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 @@ -71,6 +72,10 @@ CONFIGURE_ARGS+=--disable-nls 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 -- cgit v1.2.3