diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-21 21:21:14 +0100 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-01-21 15:51:17 -0500 |
commit | e615386b6a018b9f8e00756578161aae9acc79eb (patch) | |
tree | bfcbe1da889766ccac8a4923496c406b21e5e236 /net-misc | |
parent | app-misc/mc: Bump to version 4.8.26 (diff) | |
download | gentoo-e615386b6a018b9f8e00756578161aae9acc79eb.tar.gz gentoo-e615386b6a018b9f8e00756578161aae9acc79eb.tar.bz2 gentoo-e615386b6a018b9f8e00756578161aae9acc79eb.zip |
net-misc/dhcp: Pass randomdev path to configure
* dhcp fails to detect which random device to use when cross-compiling,
so we have to pass --with-randomdev=/dev/random to configure
Closes: https://bugs.gentoo.org/766426
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/19153
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dhcp/dhcp-4.4.2-r3.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild index c0bbefce10fc..b123e346e37a 100644 --- a/net-misc/dhcp/dhcp-4.4.2-r3.ebuild +++ b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -166,6 +166,7 @@ src_configure() { --enable-paranoia --enable-early-chroot --sysconfdir=${e} + --with-randomdev=/dev/random $(use_enable ipv6 dhcpv6) $(use_with ldap) $(use ldap && use_with ssl ldapcrypto || echo --without-ldapcrypto) @@ -178,6 +179,7 @@ src_configure() { local el eval econf \ $(for el in $(awk '/^bindconfig/,/^$/ {print}' ../Makefile.in) ; do if [[ ${el} =~ ^-- ]] ; then printf ' %s' ${el//\\} ; fi ; done | sed 's,@\([[:alpha:]]\+\)dir@,${binddir}/\1,g') \ + --with-randomdev=/dev/random \ --disable-symtable \ --without-make-clean } |