Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:20 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d008eb2feded - main - math/teyjus: fix build on powerpc
Message-ID:  <202501172147.50HLlKEH063400@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501172147.50HLlKEH063400>