From 40cc961cd4fa98a984e7254cb1a2d61b3d3af598 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 3 Mar 2005 16:31:37 +0000 Subject: make sure libresolv is detected properly (Portage version: 2.0.51.18) --- net-mail/smtptools/smtptools-0.2.3.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'net-mail/smtptools') diff --git a/net-mail/smtptools/smtptools-0.2.3.ebuild b/net-mail/smtptools/smtptools-0.2.3.ebuild index 10c6bb9f0f10..770dff0fb60c 100644 --- a/net-mail/smtptools/smtptools-0.2.3.ebuild +++ b/net-mail/smtptools/smtptools-0.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/smtptools/smtptools-0.2.3.ebuild,v 1.3 2005/03/03 14:36:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/smtptools/smtptools-0.2.3.ebuild,v 1.4 2005/03/03 16:31:37 vapier Exp $ DESCRIPTION="A collection of tools to send or receive mails with SMTP" HOMEPAGE="http://www.ohse.de/uwe/software/${PN}.html" @@ -13,6 +13,16 @@ IUSE="" DEPEND="" +src_compile() { + # the configure check looks for the symbol name 'dn_expand' in + # libresolv but later glibc's use the internal symbol name + # '__dn_expand' and macro 'dn_expand' to '__dn_expand' in the + # resolv.h header file ... lets force the func to be detected. + ac_cv_lib_resolv_dn_expand="yes" \ + econf || die + emake || die +} + src_install() { make DESTDIR="${D}" install || die "Installer failed" dodoc AUTHORS README README.cvs README.smtpblast \ -- cgit v1.2.3-65-gdbad