svn commit: r427471 - head/audio/beast

Mark Linimon linimon at FreeBSD.org
Thu Dec 1 05:29:31 UTC 2016


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|^|#| ; \


More information about the svn-ports-head mailing list