Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2018 04:23:29 +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: r472231 - head/audio/bristol
Message-ID:  <201806120423.w5C4NTeD018794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Jun 12 04:23:29 2018
New Revision: 472231
URL: https://svnweb.freebsd.org/changeset/ports/472231

Log:
  Fix build on non-x86 archs.
  
  PR:		196985
  Submitted by:	sbruno

Modified:
  head/audio/bristol/Makefile

Modified: head/audio/bristol/Makefile
==============================================================================
--- head/audio/bristol/Makefile	Tue Jun 12 04:00:07 2018	(r472230)
+++ head/audio/bristol/Makefile	Tue Jun 12 04:23:29 2018	(r472231)
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libjack.so:audio/jack \
 USES=		libtool
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 QT_COMPONENTS=	gui qmake_build moc_build uic_build rcc_build linguist_build
 
 CONFIGURE_ARGS+=	--disable-alsa --enable-oss \
@@ -25,12 +26,12 @@ CONFIGURE_ARGS+=	--disable-alsa --enable-oss \
 			--enable-jack-default-midi \
 			--disable-version-check
 
-BROKEN_aarch64=		Does not build: error: unknown FP unit 'sse'
-BROKEN_armv6=		Does not build: error: unknown FP unit 'sse'
-BROKEN_armv7=		Does not build: error: unknown FP unit 'sse'
-BROKEN_mips64=		Does not build: error: unknown FP unit 'sse'
-BROKEN_powerpc64=	Does not build: error: unknown FP unit 'sse'
-
 PORTDATA=	*
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-march=core2 -msse -msse2 -mfpmath=sse||; s|-O3||' \
+		${WRKSRC}/libbristol/Makefile.in
+	@${REINPLACE_CMD} -e 's|-msse -mfpmath=sse||; s|-O2||' \
+		${WRKSRC}/bristol/Makefile.in
 
 .include <bsd.port.mk>



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