summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/rbldnsd/rbldnsd-0.998b-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
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"