1 |
commit: 4157b8d7f8b33c7aa7ee5a2613c4e89bcf1c3ac0 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 30 18:18:31 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 31 14:06:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4157b8d7 |
7 |
|
8 |
sys-apps/systemd: simplify libidn dependency |
9 |
|
10 |
Package-Manager: Portage-2.3.69_p3, Repoman-2.3.16_p12 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
sys-apps/systemd/systemd-9999.ebuild | 20 +++----------------- |
14 |
1 file changed, 3 insertions(+), 17 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
17 |
index e1f7788216d..de934f0f326 100644 |
18 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
19 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
20 |
@@ -23,7 +23,7 @@ HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd" |
21 |
|
22 |
LICENSE="GPL-2 LGPL-2.1 MIT public-domain" |
23 |
SLOT="0/2" |
24 |
-IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi http idn importd +kmod libidn2 +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux split-usr +sysv-utils test vanilla xkb" |
25 |
+IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi http idn importd +kmod +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux split-usr +sysv-utils test vanilla xkb" |
26 |
|
27 |
REQUIRED_USE="importd? ( curl gcrypt lzma )" |
28 |
RESTRICT="!test? ( test )" |
29 |
@@ -45,10 +45,7 @@ COMMON_DEPEND=">=sys-apps/util-linux-2.30:0=[${MULTILIB_USEDEP}] |
30 |
>=net-libs/libmicrohttpd-0.9.33:0=[epoll(+)] |
31 |
>=net-libs/gnutls-3.1.4:0= |
32 |
) |
33 |
- idn? ( |
34 |
- libidn2? ( net-dns/libidn2:= ) |
35 |
- !libidn2? ( net-dns/libidn:= ) |
36 |
- ) |
37 |
+ idn? ( net-dns/libidn2:= ) |
38 |
importd? ( |
39 |
app-arch/bzip2:0= |
40 |
sys-libs/zlib:0= |
41 |
@@ -259,6 +256,7 @@ multilib_src_configure() { |
42 |
-Dgnu-efi=$(meson_multilib_native_use gnuefi) |
43 |
-Defi-libdir="${ESYSROOT}/usr/$(get_libdir)" |
44 |
-Dmicrohttpd=$(meson_multilib_native_use http) |
45 |
+ -Didn=$(meson_multilib_native_use idn) |
46 |
-Dimportd=$(meson_multilib_native_use importd) |
47 |
-Dbzip2=$(meson_multilib_native_use importd) |
48 |
-Dzlib=$(meson_multilib_native_use importd) |
49 |
@@ -303,18 +301,6 @@ multilib_src_configure() { |
50 |
-Dvconsole=$(meson_multilib) |
51 |
) |
52 |
|
53 |
- if multilib_is_native_abi && use idn; then |
54 |
- myconf+=( |
55 |
- -Dlibidn2=$(usex libidn2 true false) |
56 |
- -Dlibidn=$(usex libidn2 false true) |
57 |
- ) |
58 |
- else |
59 |
- myconf+=( |
60 |
- -Dlibidn2=false |
61 |
- -Dlibidn=false |
62 |
- ) |
63 |
- fi |
64 |
- |
65 |
meson_src_configure "${myconf[@]}" |
66 |
} |