git: d008eb2feded - main - math/teyjus: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:20 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d008eb2fededf50f65f729033bc66d4f6e9d2bd8
commit d008eb2fededf50f65f729033bc66d4f6e9d2bd8
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:53:03 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:45 +0000
math/teyjus: fix build on powerpc
---
math/teyjus/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/math/teyjus/Makefile b/math/teyjus/Makefile
index 37a29e3dbaf3..f51fb4d9ae59 100644
--- a/math/teyjus/Makefile
+++ b/math/teyjus/Makefile
@@ -24,6 +24,12 @@ CFLAGS+= -Wno-error=comment
EXES= tjcc tjdepend tjdis tjlink tjsim
PLIST_FILES= ${EXES:S/^/bin\//}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
# replacing bundled and outdated OCaml headers with a symlink to
# the current headers
post-patch: