summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-04 12:06:09 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-04 12:06:24 +0200
commitd30039b5ae3b2ecfc58b7f12651157dfe542dd72 (patch)
tree2378578af67806b5cd7a59f0da3201a7a3d610ed /net-misc/ntp
parentdev-ada/aws: Fix the install phase (diff)
downloadgentoo-d30039b5ae3b2ecfc58b7f12651157dfe542dd72.tar.gz
gentoo-d30039b5ae3b2ecfc58b7f12651157dfe542dd72.tar.bz2
gentoo-d30039b5ae3b2ecfc58b7f12651157dfe542dd72.zip
net-misc/ntp: Fixed build with latest automake (bug #622754).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ntp-4.2.8_p10-r1.ebuild35
1 files changed, 19 insertions, 16 deletions
diff --git a/net-misc/ntp/ntp-4.2.8_p10-r1.ebuild b/net-misc/ntp/ntp-4.2.8_p10-r1.ebuild
index fbd69ed2acab..1483db64a243 100644
--- a/net-misc/ntp/ntp-4.2.8_p10-r1.ebuild
+++ b/net-misc/ntp/ntp-4.2.8_p10-r1.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-inherit eutils toolchain-funcs flag-o-matic user systemd
+inherit autotools eutils toolchain-funcs flag-o-matic user systemd
MY_P=${P/_p/p}
DESCRIPTION="Network Time Protocol suite/programs"
@@ -53,6 +53,7 @@ src_prepare() {
append-cppflags -D_GNU_SOURCE #264109
# Make sure every build uses the same install layout. #539092
find sntp/loc/ -type f '!' -name legacy -delete || die
+ eautoreconf #622754
# Disable pointless checks.
touch .checkChangeLog .gcc-warning FRC.html html/.datecheck
}
@@ -65,22 +66,24 @@ src_configure() {
export ac_cv_header_dns_sd_h=$(usex zeroconf)
export ac_cv_lib_dns_sd_DNSServiceRegister=${ac_cv_header_dns_sd_h}
# Increase the default memlimit from 32MiB to 128MiB. #533232
- econf \
- --with-lineeditlibs=readline,edit,editline \
- --with-yielding-select \
- --disable-local-libevent \
- --docdir='$(datarootdir)'/doc/${PF} \
- --htmldir='$(docdir)/html' \
- --with-memlock=256 \
- $(use_enable caps linuxcaps) \
- $(use_enable parse-clocks) \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_with readline lineeditlibs readline) \
- $(use_enable samba ntp-signd) \
- $(use_with snmp ntpsnmpd) \
- $(use_with ssl crypto) \
+ local myeconfargs=(
+ --with-lineeditlibs=readline,edit,editline
+ --with-yielding-select
+ --disable-local-libevent
+ --docdir='$(datarootdir)'/doc/${PF}
+ --htmldir='$(docdir)/html'
+ --with-memlock=256
+ $(use_enable caps linuxcaps)
+ $(use_enable parse-clocks)
+ $(use_enable ipv6)
+ $(use_enable debug debugging)
+ $(use_with readline lineeditlibs readline)
+ $(use_enable samba ntp-signd)
+ $(use_with snmp ntpsnmpd)
+ $(use_with ssl crypto)
$(use_enable threads thread-support)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {