diff options
author | linimon <linimon@FreeBSD.org> | 2017-12-27 15:36:05 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2017-12-27 15:36:05 +0800 |
commit | 5cdebfaeec80a9cd6288c36f43b73601a1f518fe (patch) | |
tree | 5e3dc4da12378e6f79cbb4cdbdaa0c572de9f795 /biology/phyml | |
parent | 0690ee2450de3f5d8003708e0663df7474ae9e9a (diff) | |
download | freebsd-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/Makefile | 9 |
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: |