aboutsummaryrefslogtreecommitdiff
path: root/lang/ponyc
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-06-29 07:31:24 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-06-29 07:31:24 +0000
commit34dfa2fb2a2cb6a2d2b663bbdb594f755e5616a2 (patch)
tree2406552364c4c1301df6926eb5ce04e77d10c768 /lang/ponyc
parent9ecf8cec08249e2c0ab8a12b5ea01de790b78801 (diff)
downloadports-34dfa2fb2a2cb6a2d2b663bbdb594f755e5616a2.tar.gz
ports-34dfa2fb2a2cb6a2d2b663bbdb594f755e5616a2.zip
Fix build on aarch64 and enable.
PR: 229258 Reported by: maintainer
Notes
Notes: svn path=/head/; revision=473529
Diffstat (limited to 'lang/ponyc')
-rw-r--r--lang/ponyc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ponyc/Makefile b/lang/ponyc/Makefile
index be4d63533fde..cc43737a1458 100644
--- a/lang/ponyc/Makefile
+++ b/lang/ponyc/Makefile
@@ -10,7 +10,7 @@ COMMENT= Pony language compiler
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= Undefined reference to __atomic_compare_exchange_8
BROKEN_FreeBSD_10= Undefined reference to __atomic_compare_exchange
@@ -32,7 +32,7 @@ GH_ACCOUNT= ponylang
PORTDOCS= *.md
-MAKE_ENV= prefix=${PREFIX} verbose=true
+MAKE_ENV= prefix=${PREFIX} verbose=true ${"${ARCH}" == aarch64:?arch=armv8-a:}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pony/${DISTVERSION}/bin/ponyc