svn commit: r455737 - in head/audio/gnuspeechsa: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Dec 7 16:38:44 UTC 2017
Author: amdmi3
Date: Thu Dec 7 16:38:43 2017
New Revision: 455737
URL: https://svnweb.freebsd.org/changeset/ports/455737
Log:
- Remove -march=native; should unbreak aarch64/powerpc64
Modified:
head/audio/gnuspeechsa/Makefile
head/audio/gnuspeechsa/files/patch-CMakeLists.txt
Modified: head/audio/gnuspeechsa/Makefile
==============================================================================
--- head/audio/gnuspeechsa/Makefile Thu Dec 7 16:13:25 2017 (r455736)
+++ head/audio/gnuspeechsa/Makefile Thu Dec 7 16:38:43 2017 (r455737)
@@ -3,7 +3,7 @@
PORTNAME= gnuspeechsa
PORTVERSION= 0.1.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= GNU/gnuspeech
@@ -13,9 +13,6 @@ COMMENT= Command line, or application-based speech out
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_aarch64= Does not build: the clang compiler does not support -march=native
-BROKEN_powerpc64= Does not build: the clang compiler does not support -march=native
-
USES= cmake compiler:c++11-lib
PORTDOCS= README
@@ -23,7 +20,7 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
Modified: head/audio/gnuspeechsa/files/patch-CMakeLists.txt
==============================================================================
--- head/audio/gnuspeechsa/files/patch-CMakeLists.txt Thu Dec 7 16:13:25 2017 (r455736)
+++ head/audio/gnuspeechsa/files/patch-CMakeLists.txt Thu Dec 7 16:38:43 2017 (r455737)
@@ -1,5 +1,14 @@
--- CMakeLists.txt.orig 2015-08-23 17:14:40 UTC
+++ CMakeLists.txt
+@@ -5,7 +5,7 @@ if(UNIX)
+ if(APPLE)
+ set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++")
+ else()
+- set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -march=native")
++ set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra")
+ endif()
+ endif()
+
@@ -137,7 +137,7 @@ if(UNIX AND NOT APPLE)
install(DIRECTORY src/ DESTINATION include/gnuspeechsa FILES_MATCHING PATTERN "*.h")
install(DIRECTORY data DESTINATION share/gnuspeech/gnuspeechsa)
More information about the svn-ports-all
mailing list