git: bf75375fa590 - main - devel/hs-git-annex: Disable optimization on aarch64 to unbreak the build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 06:17:59 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf75375fa590e5ea8dfbfb4cee66c2f3aeadfa70 commit bf75375fa590e5ea8dfbfb4cee66c2f3aeadfa70 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2022-10-03 06:15:38 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-10-03 06:17:54 +0000 devel/hs-git-annex: Disable optimization on aarch64 to unbreak the build. Reported by: pkg-fallout --- devel/hs-git-annex/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/hs-git-annex/Makefile b/devel/hs-git-annex/Makefile index 3c8aa842bc66..df3ae04ef7ff 100644 --- a/devel/hs-git-annex/Makefile +++ b/devel/hs-git-annex/Makefile @@ -300,6 +300,13 @@ MAN1PAGES= git-annex-add git-annex-expire git-annex-lookupkey \ git-remote-tor-annex git-annex-examinekey git-annex-log \ git-annex-rekey git-annex-undo +.include <bsd.port.pre.mk> + +.if ${ARCH} == aarch64 +# compiler goes out of memory +BUILD_ARGS+= --disable-optimization +.endif + post-build: .for man in ${MAN1PAGES} ${WRKSRC}/Build/mdwn2man ${man} 1 ${WRKSRC}/doc/${man}.mdwn > ${WRKSRC}/doc/${man}.1 @@ -314,4 +321,4 @@ post-stage: ${LN} -sf git-annex ${STAGEDIR}${PREFIX}/bin/git-annex-shell ${LN} -sf git-annex ${STAGEDIR}${PREFIX}/bin/git-remote-tor-annex -.include <bsd.port.mk> +.include <bsd.port.post.mk>