git: f55320e70e06 - main - devel/ocaml-pcre: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:46:59 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f55320e70e06fd9d5e235fad78e2220ab6d0f65f
commit f55320e70e06fd9d5e235fad78e2220ab6d0f65f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 10:55:54 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:17 +0000
devel/ocaml-pcre: fix build on powerpc
---
devel/ocaml-pcre/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-pcre/Makefile b/devel/ocaml-pcre/Makefile
index fe97af8c31c2..efcc34b0567a 100644
--- a/devel/ocaml-pcre/Makefile
+++ b/devel/ocaml-pcre/Makefile
@@ -27,6 +27,12 @@ PORTDOCS= api
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_CONFIGURE_OFF= --disable-docs
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|$$prefix"/"share|${STAGEDIR}${PREFIX}/share|' \
-e '/datarootdir/s|$$pkg_name|&-ocaml|' \