svn commit: r565412 - head/audio/soundtouch

Chris Rees crees at FreeBSD.org
Tue Feb 16 16:25:52 UTC 2021


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>


More information about the svn-ports-all mailing list