summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-03 16:31:37 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-03 16:31:37 +0000
commit100e2f7ef4e5afbab60ca9c8847841259acebb95 (patch)
tree03db8d70f73ebc8f65b602077498fd5c83b76038 /net-mail
parentMoved to sys-process/psmisc. (diff)
downloadhistorical-100e2f7ef4e5afbab60ca9c8847841259acebb95.tar.gz
historical-100e2f7ef4e5afbab60ca9c8847841259acebb95.tar.bz2
historical-100e2f7ef4e5afbab60ca9c8847841259acebb95.zip
make sure libresolv is detected properly
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/smtptools/smtptools-0.2.3.ebuild12
1 files changed, 11 insertions, 1 deletions
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 \