summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-10-08 10:13:50 +0200
committerJeroen Roovers <jer@gentoo.org>2020-10-08 10:16:43 +0200
commitbe7aa74ba8bb6ba12a67f0e9155d91b36dbbd9f8 (patch)
treefe3e0d7932753bb51dd736d150706d7843060013 /net-misc/chrony
parentnet-misc/chrony: Version 4.0 (diff)
downloadgentoo-be7aa74ba8bb6ba12a67f0e9155d91b36dbbd9f8.tar.gz
gentoo-be7aa74ba8bb6ba12a67f0e9155d91b36dbbd9f8.tar.bz2
gentoo-be7aa74ba8bb6ba12a67f0e9155d91b36dbbd9f8.zip
net-misc/chrony: Update live ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-misc/chrony')
-rw-r--r--net-misc/chrony/chrony-9999.ebuild18
1 files changed, 2 insertions, 16 deletions
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index b5c97cbbd863..a13a14df678e 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -19,11 +19,10 @@ fi
LICENSE="GPL-2"
SLOT="0"
IUSE="
- +caps +cmdmon html ipv6 libedit +nettle +ntp +phc pps readline +refclock
+ +caps +cmdmon html ipv6 libedit +nettle +ntp +phc pps +refclock
+rtc samba +seccomp +sechash selinux
"
REQUIRED_USE="
- ?? ( libedit readline )
sechash? ( nettle )
"
RESTRICT=test
@@ -31,7 +30,6 @@ CDEPEND="
caps? ( acct-group/ntp acct-user/ntp sys-libs/libcap )
libedit? ( dev-libs/libedit )
nettle? ( dev-libs/nettle:= )
- readline? ( >=sys-libs/readline-4.1-r4:= )
seccomp? ( sys-libs/libseccomp )
"
DEPEND="
@@ -86,18 +84,6 @@ src_configure() {
tc-export CC PKG_CONFIG
- local CHRONY_EDITLINE
- # ./configure legend:
- # --disable-readline : disable line editing entirely
- # --without-readline : do not use sys-libs/readline (enabled by default)
- # --without-editline : do not use dev-libs/libedit (enabled by default)
- if ! use readline && ! use libedit; then
- CHRONY_EDITLINE='--disable-readline'
- else
- CHRONY_EDITLINE+=" $(usex readline '' --without-readline)"
- CHRONY_EDITLINE+=" $(usex libedit '' --without-editline)"
- fi
-
# Note: ncurses and nss switches are mentioned in the configure script but
# do nothing
# not an autotools generated script
@@ -106,6 +92,7 @@ src_configure() {
$(usex caps '' --disable-linuxcaps)
$(usex cmdmon '' --disable-cmdmon)
$(usex ipv6 '' --disable-ipv6)
+ $(usex libedit '' --without-editline)
$(usex nettle '' --without-nettle)
$(usex ntp '' --disable-ntp)
$(usex phc '' --disable-phc)
@@ -114,7 +101,6 @@ src_configure() {
$(usex rtc '' --disable-rtc)
$(usex samba --enable-ntp-signd '')
$(usex sechash '' --disable-sechash)
- ${CHRONY_EDITLINE}
${EXTRA_ECONF}
--chronysockdir="${EPREFIX}/run/chrony"
--docdir="${EPREFIX}/usr/share/doc/${PF}"