git: b66c3bbd9927 - main - databases/ocaml-sqlite3: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:43:19 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b66c3bbd99277821f63e55263d12b7a3b730c822
commit b66c3bbd99277821f63e55263d12b7a3b730c822
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 12:15:26 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:58 +0000
databases/ocaml-sqlite3: fix build on powerpc
---
databases/ocaml-sqlite3/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/databases/ocaml-sqlite3/Makefile b/databases/ocaml-sqlite3/Makefile
index 194777bd2a25..cd476119d18c 100644
--- a/databases/ocaml-sqlite3/Makefile
+++ b/databases/ocaml-sqlite3/Makefile
@@ -24,6 +24,12 @@ PORTDOCS= CHANGES.md LICENSE.md README.md
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllsqlite3_stubs.so \