svn commit: r473529 - head/lang/ponyc
Mark Linimon
linimon at FreeBSD.org
Fri Jun 29 07:31:25 UTC 2018
Author: linimon
Date: Fri Jun 29 07:31:24 2018
New Revision: 473529
URL: https://svnweb.freebsd.org/changeset/ports/473529
Log:
Fix build on aarch64 and enable.
PR: 229258
Reported by: maintainer
Modified:
head/lang/ponyc/Makefile
Modified: head/lang/ponyc/Makefile
==============================================================================
--- head/lang/ponyc/Makefile Fri Jun 29 07:10:18 2018 (r473528)
+++ head/lang/ponyc/Makefile Fri Jun 29 07:31:24 2018 (r473529)
@@ -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
More information about the svn-ports-all
mailing list