aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-06-29 15:31:24 +0800
committerlinimon <linimon@FreeBSD.org>2018-06-29 15:31:24 +0800
commite537da76b06bfbf3424dc5963bd581d858d0aa10 (patch)
tree2406552364c4c1301df6926eb5ce04e77d10c768 /lang
parent1d62eecc640e6b36b64854ca654d7dc3bc8212f5 (diff)
downloadfreebsd-ports-gnome-e537da76b06bfbf3424dc5963bd581d858d0aa10.tar.gz
freebsd-ports-gnome-e537da76b06bfbf3424dc5963bd581d858d0aa10.tar.zst
freebsd-ports-gnome-e537da76b06bfbf3424dc5963bd581d858d0aa10.zip
Fix build on aarch64 and enable.
PR: 229258 Reported by: maintainer
Diffstat (limited to 'lang')
-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