From 216dcb81d0d09a80c113b867446c07daeb10b34e Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 31 Mar 2016 13:47:53 +0200 Subject: [PATCH] dhcp: fix crossbuild. --- srcpkgs/dhcp/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index c5747c26076..c7f2a010087 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -2,7 +2,7 @@ pkgname=dhcp _version=4.3.4 version=${_version//-/.} -revision=3 +revision=4 wrksrc="dhcp-${_version}" build_style=gnu-configure disable_parallel_build=yes @@ -20,7 +20,8 @@ pre_configure() { --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases --with-cli-lease-file=/var/lib/dhclient/dhclient.leases - --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases" + --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases + --with-randomdev=/dev/random" local cargs="$(echo $configure_args | tr '\n' ' ')" # patching bind Makefile to patch with a cross fix while building (WTF?!)