aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-19 12:06:17 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-22 11:25:12 +0000
commit5df61ca7efd0cb8cd7c0e0de46d7d68c1a2dab6f (patch)
tree1286a70d476156a2da02eb1bdd58843f918e8732
parent87ef976d70cf456987c44cea25098c27562ac79a (diff)
lang/mtasc: fix build on powerpc
-rw-r--r--lang/mtasc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/mtasc/Makefile b/lang/mtasc/Makefile
index 1a6e03f24645..e1b59da3d95f 100644
--- a/lang/mtasc/Makefile
+++ b/lang/mtasc/Makefile
@@ -31,6 +31,12 @@ PORTDATA= std std8
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -E 's,n(read|write) ch,n\1_string ch,' \
${WRKSRC}/swflib/actionScript.ml \