Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 07:31:25 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473529 - head/lang/ponyc
Message-ID:  <201806290731.w5T7VPVv076130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806290731.w5T7VPVv076130>