Date: Tue, 14 Mar 2023 19:04:49 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: fb230792bc2d - main - textproc/jaq: fix build on powerpc Message-ID: <202303141904.32EJ4n6c021839@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=fb230792bc2d4df95184d5fb29b66e76474b2593 commit fb230792bc2d4df95184d5fb29b66e76474b2593 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-03-14 19:04:02 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-03-14 19:04:02 +0000 textproc/jaq: fix build on powerpc ld: error: undefined symbol: __atomic_store_8 --- textproc/jaq/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/textproc/jaq/Makefile b/textproc/jaq/Makefile index ebe0744ea5f4..42a7f072c7f8 100644 --- a/textproc/jaq/Makefile +++ b/textproc/jaq/Makefile @@ -78,6 +78,13 @@ CARGO_CRATES= ahash-0.7.6 \ PLIST_FILES= bin/${PORTNAME} +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303141904.32EJ4n6c021839>