aboutsummaryrefslogtreecommitdiffstats
path: root/biology/phyml
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2017-12-27 15:36:05 +0800
committerlinimon <linimon@FreeBSD.org>2017-12-27 15:36:05 +0800
commit5cdebfaeec80a9cd6288c36f43b73601a1f518fe (patch)
tree5e3dc4da12378e6f79cbb4cdbdaa0c572de9f795 /biology/phyml
parent0690ee2450de3f5d8003708e0663df7474ae9e9a (diff)
downloadfreebsd-ports-gnome-5cdebfaeec80a9cd6288c36f43b73601a1f518fe.tar.gz
freebsd-ports-gnome-5cdebfaeec80a9cd6288c36f43b73601a1f518fe.tar.zst
freebsd-ports-gnome-5cdebfaeec80a9cd6288c36f43b73601a1f518fe.zip
Disable the extra flag "-march=native" on arm to fix builds.
Approved by: portmgr (tier-2 blanket) Obtained from: lonesome.com -exp run
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: