aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-11 11:27:28 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 21:36:54 +0000
commitb9dc5e646ba21099253cfdd14afc6fff39efa9f9 (patch)
tree7fd2209f6f994f14ce312aebfd6fbbf1ba89aeab /x11-toolkits
parent406e2dec9af9c1be3f802f7413a242b2671e347d (diff)
x11-toolkits/ocaml-graphics: fix build on powerpc
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/ocaml-graphics/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/ocaml-graphics/Makefile b/x11-toolkits/ocaml-graphics/Makefile
index f34ffd7a59a9..a4648b5a5aa3 100644
--- a/x11-toolkits/ocaml-graphics/Makefile
+++ b/x11-toolkits/ocaml-graphics/Makefile
@@ -23,6 +23,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e "s/(name graphics)/&\n (version ${PORTVERSION})/" \