Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:07 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: 0e4238b9f35d - main - databases/ocaml-dbm: fix build on powerpc
Message-ID:  <202501122143.50CLh7lT096838@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=0e4238b9f35da4a09b9efb46108d69855a7f92f0

commit 0e4238b9f35da4a09b9efb46108d69855a7f92f0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-07 12:32:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:39 +0000

    databases/ocaml-dbm: fix build on powerpc
---
 databases/ocaml-dbm/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/databases/ocaml-dbm/Makefile b/databases/ocaml-dbm/Makefile
index 09a0c2f39c45..736c0aaa9966 100644
--- a/databases/ocaml-dbm/Makefile
+++ b/databases/ocaml-dbm/Makefile
@@ -21,6 +21,12 @@ HAS_CONFIGURE=	yes
 MAKE_ENV+=	LIBDIR="${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/dbm" \
 		STUBLIBDIR="${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/dbm"
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-E 's/^(LIBDIR|STUBLIBDIR)=/\1?=/' ${WRKSRC}/Makefile



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