From e615386b6a018b9f8e00756578161aae9acc79eb Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Thu, 21 Jan 2021 21:21:14 +0100 Subject: 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 Signed-off-by: Mike Gilbert Closes: https://github.com/gentoo/gentoo/pull/19153 --- net-misc/dhcp/dhcp-4.4.2-r3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net-misc') 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 } -- cgit v1.2.3-65-gdbad