From 9b7844d3644f110e48232114171c36a4bc311d71 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 22 Apr 2020 13:49:12 -0400 Subject: net-dns/rbldnsd: fix CC detection at configure time. The build system for rbldnsd is hand-written. While we were already passing CC to the "emake" command, it turns out that the ./configure script checks for it as well. Thus it was possible for src_configure() to fail if the ./configure script couldn't guess which compiler wouldn't be used anyway. Whee. Fixed by passing the same CC that emake will use to ./configure, too. Closes: https://bugs.gentoo.org/718888 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky --- net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'net-dns') diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild index a95bcde36f78..fb38ede3d4c6 100644 --- a/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild @@ -28,8 +28,10 @@ RESTRICT=test src_configure() { # The ./configure file is handwritten and doesn't support a `make # install` target, so there are no --prefix options. The econf - # function appends those automatically, so we can't use it. - ./configure \ + # function appends those automatically, so we can't use it. We + # Have to set $CC here, too (and not just in the call to emake), + # because the ./configure script checks for it. + CC="$(tc-getCC)" ./configure \ $(use_enable ipv6) \ $(use_enable zlib) \ || die "./configure failed" -- cgit v1.2.3-65-gdbad