Skip to content

Commit

Permalink
devel/hs-git-annex: Disable optimization on aarch64 to unbreak the bu…
Browse files Browse the repository at this point in the history
…ild.

Reported by:	pkg-fallout
  • Loading branch information
arrowd committed Oct 3, 2022
1 parent 7fea2bf commit bf75375
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion devel/hs-git-annex/Makefile
Expand Up @@ -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
Expand All @@ -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>

0 comments on commit bf75375

Please sign in to comment.