Date: Sun, 12 Jan 2025 21:43:51 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: 1530fd2a9fd3 - main - net/findomain: fix build on powerpc Message-ID: <202501122143.50CLhpA3098631@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=1530fd2a9fd382413a07cfaa34102cec38796f2b commit 1530fd2a9fd382413a07cfaa34102cec38796f2b Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-12 12:20:18 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:41:55 +0000 net/findomain: fix build on powerpc = note: ld: error: undefined symbol: __atomic_is_lock_free >>> referenced by threads_pthread.c >>> libcrypto-lib-threads_pthread.o:(CRYPTO_atomic_or) in archive /wrkdirs/usr/ports/net/findomain/work/target/release/deps/libopenssl_sys-049131838f14b8ea.rlib >>> referenced by threads_pthread.c >>> libcrypto-lib-threads_pthread.o:(CRYPTO_atomic_load) in archive /wrkdirs/usr/ports/net/findomain/work/target/release/deps/libopenssl_sys-049131838f14b8ea.rlib --- net/findomain/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/net/findomain/Makefile b/net/findomain/Makefile index 5b4fc5fc33b3..3bdaf83f3eb9 100644 --- a/net/findomain/Makefile +++ b/net/findomain/Makefile @@ -375,6 +375,13 @@ PGSQL_VARS= WANT_PGSQL=server SCREENSHOT_RUN_DEPENDS= chrome:www/chromium +.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: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhpA3098631>