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
commit40cc961cd4fa98a984e7254cb1a2d61b3d3af598 (patch)
tree54ef8bd76fc85a6d4fd9006ef9adbea6fb4f6a7a /net-mail/smtptools
parentMoved to sys-process/psmisc. (diff)
downloadgentoo-2-40cc961cd4fa98a984e7254cb1a2d61b3d3af598.tar.gz
gentoo-2-40cc961cd4fa98a984e7254cb1a2d61b3d3af598.tar.bz2
gentoo-2-40cc961cd4fa98a984e7254cb1a2d61b3d3af598.zip
make sure libresolv is detected properly
(Portage version: 2.0.51.18)
Diffstat (limited to 'net-mail/smtptools')
-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 \