From nobody Sun Jan 12 21:43:51 2025 X-Original-To: dev-commits-ports-main@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 4YWTRY2Wzbz5jsrr; Sun, 12 Jan 2025 21:43:53 +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 4YWTRW3KM5z4fyL; Sun, 12 Jan 2025 21:43:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718231; 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=5ZgDFBy7RX3rGWdZpLePgmyxzwlLFjEQ0FzaEerVi58=; b=fuV3kfbmpDJ3en4JVzMrqXB6OBE7xXzoHAY8Vi37OVCRQXp29tIqOHSZNcZ0E0gdMXu069 PGrPkDKNv1zRPh52/RKRQm9JGY+RbW6GnW9t8c+K/OsNvAvlgAzHOnnY3NS0Yg4JhgQqFO gNjbMdHDyEpBZmT2kGSykUiMWRuYYSOsTa6MrovWXhbwgF1WlveKE5rA2+SgrOOQmZR1+h azShVGrqSHERPw4n2DO2oZnvucGS5cBE50nV+0zanNk+xr20ILKL1hcKVv+dvg9Ppsbdf/ CrvkntqQIwAfN388I7PfwcDXHjIvHK0kEKgbEwCjqHfiFI3wPwrA4jX/mlQvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718231; 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=5ZgDFBy7RX3rGWdZpLePgmyxzwlLFjEQ0FzaEerVi58=; b=PbwZLsLb27fTpuOO9jVbTqVazN5GAyOgKcJLNPl9UEs7hQYTs9QMNMtCNG2dj6IZa0S4EX Pyt44m6DcA6Hk+MN56rwUZIcD5CuTUcvIsRD4CFXOwAEp+1k9KBn6bq0WN5xYWQLAWpPvF KTmeltVBAOestCG3P2mX4uV36fdfe6hGU2YmeZ9YfSE18/lKRSGrJNU9KunwFjPuptCQLl MGwzxk3IR9S8o5uHoe+xd0EabQTb1K/kNW9ZuUExkUY2fvHjd1UsR7yf8kMXVHf1XJ5KuM 1s/rJSx22ypwC735jKwgNsJG+67rP553CM2HCIjYpPyfupUfgipm+5QJx+ZMRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736718231; a=rsa-sha256; cv=none; b=skoybH3cml/YIKLM1dLXTyeCdXlJ78dyAVG83yolFXhTDPDAERithKNgJnMUYBjeS9I7HF jUdh08XhPyTqN+Om45qzw0bx6ZU5m5ciOd101lPRIHNKPi57VpgCS83rW5g4g6w7G0LdK9 RAKC13DEpj35xtj35RzwvpX1EDF/gyyrrDOkCaunWtl5nhyO/LhMqk1yv4ZLnPBMumv8A2 YXddVappt13iKywdsGqYTn+1V9YT/QSK4/HIUYADr4W4/nW+EPlY3Vhxnccs6g+LqiMUAa yxWeo2OFBrvkuK8AJj/v9Kn2RfN4eREOQx49ZXmSQ6e5U5q4tjcH2hU3jl6eBA== 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 4YWTRW2wZ6z1263; Sun, 12 Jan 2025 21:43:51 +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 50CLhpg1098634; Sun, 12 Jan 2025 21:43:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50CLhpA3098631; Sun, 12 Jan 2025 21:43:51 GMT (envelope-from git) Date: Sun, 12 Jan 2025 21:43:51 GMT Message-Id: <202501122143.50CLhpA3098631@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: 1530fd2a9fd3 - main - net/findomain: fix build on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 1530fd2a9fd382413a07cfaa34102cec38796f2b Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=1530fd2a9fd382413a07cfaa34102cec38796f2b commit 1530fd2a9fd382413a07cfaa34102cec38796f2b Author: Piotr Kubaj AuthorDate: 2025-01-12 12:20:18 +0000 Commit: Piotr Kubaj 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 + +.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