aboutsummaryrefslogtreecommitdiff
path: root/biology/phyml
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2017-12-27 07:36:05 +0000
committerMark Linimon <linimon@FreeBSD.org>2017-12-27 07:36:05 +0000
commitf02e9b1855dc11dfa3de0a0a24519c758caea34a (patch)
tree5e3dc4da12378e6f79cbb4cdbdaa0c572de9f795 /biology/phyml
parentd9880127362955fca78c4127c39fa0fb7c92f66c (diff)
downloadports-f02e9b1855dc11dfa3de0a0a24519c758caea34a.tar.gz
ports-f02e9b1855dc11dfa3de0a0a24519c758caea34a.zip
Notes
Diffstat (limited to 'biology/phyml')
-rw-r--r--biology/phyml/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/biology/phyml/Makefile b/biology/phyml/Makefile
index 652db021400e..53c8ca69ab72 100644
--- a/biology/phyml/Makefile
+++ b/biology/phyml/Makefile
@@ -13,9 +13,9 @@ COMMENT= Simple, fast, and accurate algorithm to estimate large phylogenies
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native'
-BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native'
-BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native'
+#BROKEN_aarch64= fails to compile: c++: the clang compiler does not support '-march=native'
+#BROKEN_armv6= fails to compile: c++: the clang compiler does not support '-march=native'
+#BROKEN_armv7= fails to compile: c++: the clang compiler does not support '-march=native'
USE_GITHUB= yes
GH_ACCOUNT= stephaneguindon
@@ -50,6 +50,9 @@ BIN_SUFFIX= # none
post-patch:
@${REINPLACE_CMD} -e \
's|-O2 .* $${ARCH_flag}|$${CFLAGS}|' ${WRKSRC}/configure.ac
+.if ${ARCH} != amd64 && ${ARCH} != i386
+ @${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac
+.endif
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/utilities.h
post-install-DOCS-on: