From nobody Sun Jan 12 21:43:55 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWTRf2HDbz5jsy0; Sun, 12 Jan 2025 21:43:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWTRd1NBDz4fwf; Sun, 12 Jan 2025 21:43:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ynzDwEapBry15TB3A+LLabIbo6t9/C1iiicV2+SKR5Q=; b=ICfQjYF5vUJ9Hy29z1OKZgBlCx5D5TYLt3H9YkBEb/yPQulwvpgj2ooULkmrESufx77UQY 7pdF0lf/3ZJbgjh4YF1M6IJUwFmzQGtranAAsjjf3yM54zlWectGl9ogkQqcoCCTqVqBqy RU49qeOuL58HNj/6luzv67j8pHTWL2rVo8n2KsTF1MHSTAed1lrW0AQRts2zxK4wg1xrwc zIyaJEzKJ9i1xaHYhSRPV/QeaYsV5YX5E+TNToGl+Qtz98aU2tfgxEK+Cn/BB0vK5pjGCd 6r9X+GHHBuboj+U/VKPsD1GQtN8Cts6Zcstp+JyBhuBbZ1u6CWUhSj9WyShWeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ynzDwEapBry15TB3A+LLabIbo6t9/C1iiicV2+SKR5Q=; b=E1k26MB8/MMlACtTHV23G0F/ybLo1qUfXlHC4aeFyW0wRyWGLjn+93DUdzcH/45vas7ux2 vrUP+qj1H2VXQBcaQ9oiJRapJ9siS7AL7toYuvR+wLwzzy2cefDCS3/N7276XRnn4/uozv otZfJFliAzNEb9sFHLU2hn8i5NfcDtOGr6vMBVFONls1Q9n31qez7D9JV2vqGoDJoHJRCM Q+ORpDjrirSy0Sw7TKEFiuaIm2w6guIvUXfrZmRD7IOWfNnIHQn2Thy4+WqC3A2SaI3jU+ lRTurmG54YGvT5DtpekPc+NkTaRVwDtg+6SSAoKBZsm/hThrBtDBc++nge+iHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736718237; a=rsa-sha256; cv=none; b=TpT44trd0zzpm0+tur3UKRJf2028h7WU0fdpu8c5EpS97wUA1xKnwGxszUAmDvTR2PeQEi XWZqo0gxp7tMG2pJi3adNL7zdHMGv8E6eSnjwqfGSCDU/1GpKhZl1ixu110mGfJSuvAHE4 qTqDPqyAo19n+Urt1NF9MGq7qXtpaPRD95HLfQAqxZtGIzsKQa5zJfGdD7QmMQexeTkU0K VDqF0g4sz/ezh3S+UomuhkJNMJQiGyee7WTWik9tdpI6kg0OEeu4I6enATh1KHhSRQ0KfL jr+ZiTavCAhi8oJZYx9+28UzJUNlowdHqvByYvODdufy/jwT0Gz15f8xLK+TlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YWTRc27l7z12ZX; Sun, 12 Jan 2025 21:43:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50CLht0M098832; Sun, 12 Jan 2025 21:43:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50CLhtdL098829; Sun, 12 Jan 2025 21:43:55 GMT (envelope-from git) Date: Sun, 12 Jan 2025 21:43:55 GMT Message-Id: <202501122143.50CLhtdL098829@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 54dcdb7bd82f - main - www/monolith: fix build List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 54dcdb7bd82f13b6e8bc199173dbf3c6bfd2cba1 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=54dcdb7bd82f13b6e8bc199173dbf3c6bfd2cba1 commit 54dcdb7bd82f13b6e8bc199173dbf3c6bfd2cba1 Author: Piotr Kubaj AuthorDate: 2025-01-12 20:47:40 +0000 Commit: Piotr Kubaj 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 + +.if ${ARCH} == powerpc +LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT} +LDFLAGS+= -L/usr/local/lib/gcc${GCC_DEFAULT} -latomic +.endif + .include