summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/smtptools/smtptools-0.2.3.ebuild')
-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 \