Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 01:41:34 GMT
From:      Jack <xxjack12xx@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182986: Add "without" configure args to audacity and disable sse on powerpc
Message-ID:  <201310150141.r9F1fYNX012632@oldred.freebsd.org>
Resent-Message-ID: <201310150150.r9F1o0l5039425@freefall.freebsd.org>

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

>Number:         182986
>Category:       ports
>Synopsis:       Add "without" configure args to audacity and disable sse on powerpc
>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 15 01:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jack
>Release:        
>Organization:
>Environment:
FreeBSD jlow.internetbrands.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r255679M: Wed Sep 18 16:02:58 PDT 2013     jlow@jlow.internetbrands.com:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
powerpc doesn't have sse flags in the arch, disable it if the arch is powerpc

Add --without-options if the option is disabled.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
--- Makefile    (revision 330339)
+++ Makefile    (working copy)
@@ -47,7 +47,7 @@
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "i386"
+.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
 SSE_CFLAGS=    -mno-sse -mno-sse2
 .endif
 
@@ -136,10 +136,14 @@
 
 .if ${PORT_OPTIONS:MSSE}
 CONFIGURE_ARGS+=       --with-sse
+.else
+CONFIGURE_ARGS+=       --without-sse
 .endif
 
 .if ${PORT_OPTIONS:MSOXR}
 CONFIGURE_ARGS+=       --with-libsoxr
+.else
+CONFIGURE_ARGS+=       --without-libsoxr
 .endif
 
 .if ${PORT_OPTIONS:MTWOLAME}


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



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