Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 16:37:03 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506475 - head/audio/cadence
Message-ID:  <201907121637.x6CGb33A076516@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Jul 12 16:37:03 2019
New Revision: 506475
URL: https://svnweb.freebsd.org/changeset/ports/506475

Log:
  Turn off -mtune=generic on all archs, not just selected ones.  This may
  fix problems using the FreeBSD.org-built packages on some systems.
  
  While here, more properly constrain sse functionality.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/audio/cadence/Makefile

Modified: head/audio/cadence/Makefile
==============================================================================
--- head/audio/cadence/Makefile	Fri Jul 12 16:23:20 2019	(r506474)
+++ head/audio/cadence/Makefile	Fri Jul 12 16:37:03 2019	(r506475)
@@ -39,8 +39,9 @@ post-patch:
 		cadence cadence-aloop-daemon cadence-jacksettings cadence-logs \
 		cadence-pulse2jack cadence-pulse2loopback cadence-render \
 		cadence-session-start catarina catia claudia claudia-launcher
-.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
-	${REINPLACE_CMD} -e 's|-mtune=generic -msse -mfpmath=sse||' ${WRKSRC}/c++/Makefile.mk
+	${REINPLACE_CMD} -e 's|-mtune=generic||' ${WRKSRC}/c++/Makefile.mk
+.if ! ${ARCH} == amd64 && ! ${ARCH} == i386
+	${REINPLACE_CMD} -e 's|-msse -mfpmath=sse||' ${WRKSRC}/c++/Makefile.mk
 .endif
 
 .include <bsd.port.post.mk>



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