Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:42 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0751045d6139 - main - devel/menhir: fix build on powerpc
Message-ID:  <202501122142.50CLggZw095757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0751045d6139d92d33477ed7b43b4bdc53671296

commit 0751045d6139d92d33477ed7b43b4bdc53671296
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:54:30 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:02 +0000

    devel/menhir: fix build on powerpc
---
 devel/menhir/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/menhir/Makefile b/devel/menhir/Makefile
index 4b77c8710b18..526d972744c2 100644
--- a/devel/menhir/Makefile
+++ b/devel/menhir/Makefile
@@ -22,6 +22,12 @@ PORTDOCS=	${OCAML_PACKAGES:@p@$p@}
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/menhir
 	@${STRIP_CMD} \



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