Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcp/
Date: Thu, 28 Apr 2022 18:00:30
Message-Id: 1651168646.c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec.sam@gentoo
1 commit: c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 17:57:26 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 17:57:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00b2fd2
7
8 net-misc/dhcp: change x86 test to check for i486 CHOST
9
10 Closes: https://bugs.gentoo.org/801592
11 Bug: https://bugs.gentoo.org/841482
12 Suggested-by: Ben Kohler <iamben <AT> gentoo.org>
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 2 +-
16 net-misc/dhcp/dhcp-4.4.3-r1.ebuild | 2 +-
17 2 files changed, 2 insertions(+), 2 deletions(-)
18
19 diff --git a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild
20 index 4c213e87fbc3..6b2cf7158832 100644
21 --- a/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild
22 +++ b/net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild
23 @@ -164,7 +164,7 @@ src_configure() {
24 append-flags -fno-strict-aliasing
25
26 # bug #720806, bug #801592
27 - if use ppc || use arm || use hppa || use x86; then
28 + if use ppc || use arm || use hppa || [[ ${CHOST} == i486* ]] ; then
29 append-libs -latomic
30 fi
31
32
33 diff --git a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild
34 index 518577815642..0cd58207062a 100644
35 --- a/net-misc/dhcp/dhcp-4.4.3-r1.ebuild
36 +++ b/net-misc/dhcp/dhcp-4.4.3-r1.ebuild
37 @@ -168,7 +168,7 @@ src_configure() {
38 append-flags -fno-strict-aliasing
39
40 # bug #720806, bug #801592
41 - if use ppc || use arm || use hppa || use x86; then
42 + if use ppc || use arm || use hppa || [[ ${CHOST} == i486* ]] ; then
43 append-libs -latomic
44 fi