Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 16:25:51 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565412 - head/audio/soundtouch
Message-ID:  <202102161625.11GGPpSq043154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Tue Feb 16 16:25:51 2021
New Revision: 565412
URL: https://svnweb.freebsd.org/changeset/ports/565412

Log:
  audio/soundtouch: fix build faiure with OPENMP
  
  PR:		ports/251884

Modified:
  head/audio/soundtouch/Makefile   (contents, props changed)

Modified: head/audio/soundtouch/Makefile
==============================================================================
--- head/audio/soundtouch/Makefile	Tue Feb 16 16:03:33 2021	(r565411)
+++ head/audio/soundtouch/Makefile	Tue Feb 16 16:25:51 2021	(r565412)
@@ -27,7 +27,7 @@ OPTIONS_DEFAULT_i386=	${MACHINE_CPU:tu:MSSE}
 INTEGER_SAMPLES_DESC=	Use integer sample format
 INTEGER_SAMPLES_CONFIGURE_ENABLE=	integer-samples
 OPENMP_CONFIGURE_ENABLE=openmp
-OPENMP_USES=		compiler:gcc-c++11-lib
+OPENMP_USES=		compiler:openmp
 SSE_CONFIGURE_ENABLE=	x86-optimizations
 SSE_USES=		compiler:c++11-lang
 
@@ -39,10 +39,11 @@ post-patch:
 		's|^INCLUDES|AM_CPPFLAGS| ; \
 		 s|$$(prefix)/doc|$$(datadir)/doc|' \
 		${WRKSRC}/config/am_include.mk
-.for i in SoundStretch SoundTouch
 	@${REINPLACE_CMD} -e \
 		's|-O[0-9]||;s|-fcheck-new||' \
-		${WRKSRC}/source/${i}/Makefile.am
-.endfor
+		${WRKSRC}/source/SoundTouch/Makefile.am
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSoundTouch.so.1.0.0
 
 .include <bsd.port.mk>



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