From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBBEF1382C5 for ; Thu, 25 Feb 2021 01:28:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC261E0864; Thu, 25 Feb 2021 01:28:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5041E0864 for ; Thu, 25 Feb 2021 01:28:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D642B340E30 for ; Thu, 25 Feb 2021 01:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39BD3487 for ; Thu, 25 Feb 2021 01:28:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614216460.af7f9e4e6383822de9d5b9c4f462041927cfc83f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dhcp/dhcp-4.4.2-r3.ebuild X-VCS-Directories: net-misc/dhcp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: af7f9e4e6383822de9d5b9c4f462041927cfc83f X-VCS-Branch: master Date: Thu, 25 Feb 2021 01:28:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f067b193-c76b-4ce6-b9ab-84f4c11cd143 X-Archives-Hash: 39c20e277a76f8a788783b7c76718697 commit: af7f9e4e6383822de9d5b9c4f462041927cfc83f Author: Robin H. Johnson gentoo org> AuthorDate: Thu Feb 25 01:27:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 25 01:27:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7f9e4e net-misc/dhcp: fix 32-bit build with libatomic (ppc, arm, ...) Bug: https://bugs.gentoo.org/720806 Signed-off-by: Robin H. Johnson gentoo.org> Signed-off-by: Sam James gentoo.org> net-misc/dhcp/dhcp-4.4.2-r3.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild index b123e346e37..0aef829c93b 100644 --- a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild +++ b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit systemd toolchain-funcs +inherit systemd toolchain-funcs flag-o-matic MY_PV="${PV//_alpha/a}" MY_PV="${MY_PV//_beta/b}" @@ -162,6 +162,11 @@ src_configure() { #define _PATH_DHCRELAY6_PID "${r}/dhcrelay6.pid" EOF + # https://bugs.gentoo.org/720806 + if use ppc || use arm || use hppa; then + append-libs -latomic + fi + local myeconfargs=( --enable-paranoia --enable-early-chroot @@ -170,6 +175,7 @@ src_configure() { $(use_enable ipv6 dhcpv6) $(use_with ldap) $(use ldap && use_with ssl ldapcrypto || echo --without-ldapcrypto) + LIBS="${LIBS}" ) econf "${myeconfargs[@]}"