Date: Sun, 12 Jan 2025 21:43:55 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: 54dcdb7bd82f - main - www/monolith: fix build Message-ID: <202501122143.50CLhtdL098829@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=54dcdb7bd82f13b6e8bc199173dbf3c6bfd2cba1 commit 54dcdb7bd82f13b6e8bc199173dbf3c6bfd2cba1 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-12 20:47:40 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:42:02 +0000 www/monolith: fix build 1. Perl and gmake are necessary for openssl-sys build. 2. Allow to use libatomic 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/www/monolith/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/www/monolith/work/target/release/deps/libopenssl_sys-049131838f14b8ea.rlib --- www/monolith/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/monolith/Makefile b/www/monolith/Makefile index d69e37d76a41..232cd8c1ee37 100644 --- a/www/monolith/Makefile +++ b/www/monolith/Makefile @@ -10,10 +10,20 @@ WWW= https://github.com/Y2Z/monolith LICENSE= CC0-1.0 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cargo ssl +BUILD_DEPENDS= gmake:devel/gmake + +USES= cargo perl5 ssl USE_GITHUB= yes GH_ACCOUNT= Y2Z +USE_PERL5= build 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 + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhtdL098829>