Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/
Date: Tue, 13 Aug 2019 21:36:26
Message-Id: 1565732177.8ea89b86b63b91759bd5ee476bc8ee9008f7398b.dilfridge@gentoo
1 commit: 8ea89b86b63b91759bd5ee476bc8ee9008f7398b
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 13 21:35:54 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 13 21:36:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea89b86
7
8 sys-libs/glibc: BDEPEND implementation
9
10 Package-Manager: Portage-2.3.70, Repoman-2.3.16
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 sys-libs/glibc/glibc-9999.ebuild | 26 ++++++++++++++------------
14 1 file changed, 14 insertions(+), 12 deletions(-)
15
16 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
17 index 09bf788700f..ea591126e85 100644
18 --- a/sys-libs/glibc/glibc-9999.ebuild
19 +++ b/sys-libs/glibc/glibc-9999.ebuild
20 @@ -64,6 +64,16 @@ fi
21 # We need a new-enough binutils/gcc to match upstream baseline.
22 # Also we need to make sure our binutils/gcc supports TLS,
23 # and that gcc already contains the hardened patches.
24 +BDEPEND="
25 + ${PYTHON_DEPS}
26 + >=app-misc/pax-utils-0.1.10
27 + sys-devel/bison
28 + !<sys-apps/sandbox-1.6
29 + !<sys-apps/portage-2.1.2
30 + !<sys-devel/bison-2.7
31 + !<sys-devel/make-4
32 + doc? ( sys-apps/texinfo )
33 +"
34 COMMON_DEPEND="
35 nscd? ( selinux? (
36 audit? ( sys-process/audit )
37 @@ -74,14 +84,6 @@ COMMON_DEPEND="
38 systemtap? ( dev-util/systemtap )
39 "
40 DEPEND="${COMMON_DEPEND}
41 - ${PYTHON_DEPS}
42 - >=app-misc/pax-utils-0.1.10
43 - sys-devel/bison
44 - !<sys-apps/sandbox-1.6
45 - !<sys-apps/portage-2.1.2
46 - !<sys-devel/bison-2.7
47 - !<sys-devel/make-4
48 - doc? ( sys-apps/texinfo )
49 test? ( >=net-dns/libidn2-2.0.5 )
50 "
51 RDEPEND="${COMMON_DEPEND}
52 @@ -91,17 +93,17 @@ RDEPEND="${COMMON_DEPEND}
53 "
54
55 if [[ ${CATEGORY} == cross-* ]] ; then
56 - DEPEND+=" !headers-only? (
57 + BDEPEND+=" !headers-only? (
58 >=${CATEGORY}/binutils-2.24
59 >=${CATEGORY}/gcc-6
60 )"
61 - [[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers"
62 + [[ ${CATEGORY} == *-linux* ]] && BDEPEND+=" ${CATEGORY}/linux-headers"
63 else
64 - DEPEND+="
65 + BDEPEND+="
66 >=sys-devel/binutils-2.24
67 >=sys-devel/gcc-6
68 - virtual/os-headers
69 "
70 + DEPEND+=" virtual/os-headers "
71 RDEPEND+="
72 >=net-dns/libidn2-2.0.5
73 vanilla? ( !sys-libs/timezone-data )