summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-07 10:12:41 +0100
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 22:36:34 +0100
commit007b4134494b6dfa8f6196a4798a782d193f19f1 (patch)
treea33502ffe68d18060e6e3fbde5d74eec26283745
parenttextproc/typst: no more LTO issues on powerpc (diff)
security/ocaml-ssl: fix build on powerpc
-rw-r--r--security/ocaml-ssl/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile
index efb34d86187d..4236b9d4d904 100644
--- a/security/ocaml-ssl/Makefile
+++ b/security/ocaml-ssl/Makefile
@@ -21,6 +21,12 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}