net-misc/dhcp: Add missing dep

checking for zlib library... yes
    checking for library containing deflate... no
    configure: error: found zlib include but not library.
    /build/arm64-generic/tmp/portage/net-misc/dhcp-4.4.1-r1/work/dhcp-4.4.1/bind/bind-9.11.2-P1/config.log:

This shows up when cross compiling into a new sysroot when using the
ROOT= environment variable.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Closes: https://github.com/gentoo/gentoo/pull/30467
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Raul E Rangel 2022-11-30 13:42:06 -07:00 committed by Mike Gilbert
parent 474002c818
commit 4a72293b35
No known key found for this signature in database
GPG Key ID: 7E58A298F42F9CCD
2 changed files with 5 additions and 3 deletions

View File

@ -18,7 +18,7 @@ SRC_URI="ftp://ftp.isc.org/isc/dhcp/${MY_P}.tar.gz
LICENSE="MPL-2.0 BSD SSLeay GPL-2" # GPL-2 only for init script
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="+client ipv6 ldap selinux +server ssl vim-syntax"
BDEPEND="
@ -26,6 +26,7 @@ BDEPEND="
acct-user/dhcp"
DEPEND="
sys-libs/zlib:=
client? (
kernel_linux? (
ipv6? ( sys-apps/iproute2 )
@ -76,7 +77,6 @@ PATCHES=(
"${FILESDIR}/${PN}-4.4.3-ldap-ipv6-client-id.patch"
# Possible upstream candidates
"${FILESDIR}/${PN}-4.4.3-configure-clang16.patch"
)
src_prepare() {

View File

@ -18,7 +18,7 @@ SRC_URI="ftp://ftp.isc.org/isc/dhcp/${MY_P}.tar.gz
LICENSE="MPL-2.0 BSD SSLeay GPL-2" # GPL-2 only for init script
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="+client ipv6 ldap selinux +server ssl vim-syntax"
BDEPEND="
@ -26,6 +26,7 @@ BDEPEND="
acct-user/dhcp"
DEPEND="
sys-libs/zlib:=
client? (
kernel_linux? (
ipv6? ( sys-apps/iproute2 )
@ -76,6 +77,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.4.3-ldap-ipv6-client-id.patch"
# Possible upstream candidates
"${FILESDIR}/${PN}-4.4.3-configure-clang16.patch"
)
src_prepare() {