summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-09-27 17:43:35 +0000
committerTorsten Veller <tove@gentoo.org>2010-09-27 17:43:35 +0000
commit183b44fafcc03ef6c35d19aae5bc49d0c43fada7 (patch)
treed0fe9b6da98c5fb3aa54e00c9b752b159de8fb31 /mail-filter
parentDelete older ebuild. (diff)
downloadgentoo-2-183b44fafcc03ef6c35d19aae5bc49d0c43fada7.tar.gz
gentoo-2-183b44fafcc03ef6c35d19aae5bc49d0c43fada7.tar.bz2
gentoo-2-183b44fafcc03ef6c35d19aae5bc49d0c43fada7.zip
Pass LDFLAGS to spamc (#325301). Patch from David Abbott in #338233
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/ChangeLog6
-rw-r--r--mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/mail-filter/spamassassin/ChangeLog b/mail-filter/spamassassin/ChangeLog
index c534f9219849..39c9613036c4 100644
--- a/mail-filter/spamassassin/ChangeLog
+++ b/mail-filter/spamassassin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/spamassassin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.182 2010/08/15 15:18:23 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/ChangeLog,v 1.183 2010/09/27 17:43:35 tove Exp $
+
+ 27 Sep 2010; Torsten Veller <tove@gentoo.org>
+ spamassassin-3.3.1-r3.ebuild:
+ Pass LDFLAGS to spamc (#325301). Patch from David Abbott in #338233
*spamassassin-3.3.1-r3 (15 Aug 2010)
diff --git a/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild b/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild
index f59d6e76ce89..a276ace73169 100644
--- a/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild
+++ b/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild,v 1.1 2010/08/15 15:18:23 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamassassin/spamassassin-3.3.1-r3.ebuild,v 1.2 2010/09/27 17:43:35 tove Exp $
EAPI="2"
-inherit perl-module eutils
+inherit perl-module toolchain-funcs eutils
MY_P=Mail-SpamAssassin-${PV//_/-}
S=${WORKDIR}/${MY_P}
@@ -96,11 +96,12 @@ src_configure() {
# Setting the following env var ensures that no questions are asked.
perl-module_src_configure
+ # Configure spamc
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" spamc/Makefile || die "emake failed"
}
src_compile() {
export PERL_MM_USE_DEFAULT=1
- emake spamc/Makefile || die "emake failed"
# Now compile all the stuff selected.
perl-module_src_compile