diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-08-27 09:02:57 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-08-27 09:05:07 +0200 |
commit | 8d991738f61ad43a6b58cda7388ae33e341f93d4 (patch) | |
tree | 7a411de516a972b2ac86ad2a19c0791d7b01f481 /net-misc/chrony | |
parent | net-misc/chrony: Version 4.0_pre3 (diff) | |
download | gentoo-8d991738f61ad43a6b58cda7388ae33e341f93d4.tar.gz gentoo-8d991738f61ad43a6b58cda7388ae33e341f93d4.tar.bz2 gentoo-8d991738f61ad43a6b58cda7388ae33e341f93d4.zip |
net-misc/chrony: Run config(!) changes in src_configure()
Package-Manager: Portage-3.0.4, 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-3.5.1.ebuild | 4 | ||||
-rw-r--r-- | net-misc/chrony/chrony-9999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/chrony/chrony-3.5.1.ebuild b/net-misc/chrony/chrony-3.5.1.ebuild index fa28cf690097..067eb1c88366 100644 --- a/net-misc/chrony/chrony-3.5.1.ebuild +++ b/net-misc/chrony/chrony-3.5.1.ebuild @@ -53,7 +53,9 @@ src_prepare() { # Copy for potential user fixup cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf cp examples/chronyd.service "${T}"/chronyd.service +} +src_configure() { # Set config for privdrop if ! use caps; then sed -i \ @@ -66,9 +68,7 @@ src_prepare() { -e 's/-F 1//' \ "${T}"/chronyd.conf "${T}"/chronyd.service || die fi -} -src_configure() { tc-export CC local CHRONY_EDITLINE diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild index 0338e59678bc..a2dcdd4d2bd6 100644 --- a/net-misc/chrony/chrony-9999.ebuild +++ b/net-misc/chrony/chrony-9999.ebuild @@ -73,7 +73,9 @@ src_prepare() { # Copy for potential user fixup cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf cp examples/chronyd.service "${T}"/chronyd.service +} +src_configure() { # Set config for privdrop if ! use caps; then sed -i \ @@ -86,9 +88,7 @@ src_prepare() { -e 's/-F 1//' \ "${T}"/chronyd.conf "${T}"/chronyd.service || die fi -} -src_configure() { tc-export CC local CHRONY_EDITLINE |