summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-07-24 07:47:06 +0000
committerFabian Groffen <grobian@gentoo.org>2009-07-24 07:47:06 +0000
commitdbd8d54589f0da0f10bce73fc2bde03c98497f18 (patch)
tree8f80b88858af7685807d2f39e9b7eafb48f98889 /mail-mta
parentVersion bump. (diff)
downloadgentoo-2-dbd8d54589f0da0f10bce73fc2bde03c98497f18.tar.gz
gentoo-2-dbd8d54589f0da0f10bce73fc2bde03c98497f18.tar.bz2
gentoo-2-dbd8d54589f0da0f10bce73fc2bde03c98497f18.zip
Exim uses libiconv for header expansion, make this dependency explicit and do what's necessary for non-glibc platforms
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/exim/ChangeLog6
-rw-r--r--mail-mta/exim/exim-4.69-r2.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 858d6a1967db..5487ac03a3df 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.141 2009/07/24 07:21:22 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.142 2009/07/24 07:47:06 grobian Exp $
+
+ 24 Jul 2009; Fabian Groffen <grobian@gentoo.org> exim-4.69-r2.ebuild:
+ Exim uses libiconv for header expansion, make this dependency explicit and
+ do what's necessary for non-glibc platforms
24 Jul 2009; Fabian Groffen <grobian@gentoo.org> exim-4.69-r2.ebuild:
Grab includes and libs from the target ROOT, part of bug #266591
diff --git a/mail-mta/exim/exim-4.69-r2.ebuild b/mail-mta/exim/exim-4.69-r2.ebuild
index d74cd4dca87d..8c86a51623c6 100644
--- a/mail-mta/exim/exim-4.69-r2.ebuild
+++ b/mail-mta/exim/exim-4.69-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r2.ebuild,v 1.8 2009/07/24 07:21:22 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.69-r2.ebuild,v 1.9 2009/07/24 07:47:06 grobian Exp $
inherit eutils toolchain-funcs multilib pam
@@ -41,6 +41,7 @@ DEPEND=">=sys-apps/sed-4.0.5
radius? ( net-dialup/radiusclient )
domainkeys? ( mail-filter/libdomainkeys )
logrotate? ( app-admin/logrotate )
+ virtual/libiconv
"
# added X check for #57206
RDEPEND="${DEPEND}
@@ -157,6 +158,11 @@ src_unpack() {
echo "EXTRALIBS=${myconf} ${LDFLAGS}" >> Makefile
fi
+ # Make iconv usage explicit
+ echo "HAVE_ICONV=yes" >> Makefile
+ # If we use libiconv, now is the time to tell so
+ use !elibc_glibc && echo "EXTRALIBS_EXIM=-liconv" >> Makefile
+
cd "${S}"
if use ssl; then
sed -i \