Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2016 05:29:30 +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: r427471 - head/audio/beast
Message-ID:  <201612010529.uB15TURi040243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Dec  1 05:29:30 2016
New Revision: 427471
URL: https://svnweb.freebsd.org/changeset/ports/427471

Log:
  Attempt to fix build on non-x86 archs.
  
  I admit to not understanding the A= B= construct.  This hack was the only
  way I could figure out to make the flags properly conditionalize.

Modified:
  head/audio/beast/Makefile

Modified: head/audio/beast/Makefile
==============================================================================
--- head/audio/beast/Makefile	Thu Dec  1 05:02:33 2016	(r427470)
+++ head/audio/beast/Makefile	Thu Dec  1 05:29:30 2016	(r427471)
@@ -46,10 +46,17 @@ OPTIONS_DEFAULT_amd64=	SSE
 DEBUG_CONFIGURE_ENABLE=	debug
 SSE_VARS=	SSE_FLAGS="-mmmx -msse"
 
+.include <bsd.port.pre.mk>
+
 BROKEN_powerpc64=	Does not build
 
 MAKE_JOBS_UNSAFE=	yes
 
+.if ${ARCH} != amd64 && ${ARCH} != i386
+SSE_FLAGS=
+SSE_VARS=
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^[[:space:]].*FLAGS -[Ofgp].*"/s|^|#| ; \



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