summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-08-12 20:16:08 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-08-12 20:16:08 +0000
commitacfec978083fcaaa3716143c9e9c78f3f5629c91 (patch)
tree65b8d2aea1090ec487407375e16f59e50a3692e0 /app-misc/email2trac
parentDrop --as-needed from LDFLAGS, since it obviously is not ready to be enabled ... (diff)
downloadgentoo-2-acfec978083fcaaa3716143c9e9c78f3f5629c91.tar.gz
gentoo-2-acfec978083fcaaa3716143c9e9c78f3f5629c91.tar.bz2
gentoo-2-acfec978083fcaaa3716143c9e9c78f3f5629c91.zip
Respect LDFLAGS,CFLAGS. Bug #331853. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/email2trac')
-rw-r--r--app-misc/email2trac/ChangeLog7
-rw-r--r--app-misc/email2trac/email2trac-1.4.0.ebuild8
2 files changed, 13 insertions, 2 deletions
diff --git a/app-misc/email2trac/ChangeLog b/app-misc/email2trac/ChangeLog
index b158b322f906..2f87a6bf99cd 100644
--- a/app-misc/email2trac/ChangeLog
+++ b/app-misc/email2trac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/email2trac
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/ChangeLog,v 1.2 2010/05/29 06:37:32 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/ChangeLog,v 1.3 2010/08/12 20:16:08 hwoarang Exp $
+
+ 12 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
+ email2trac-1.4.0.ebuild:
+ Respect LDFLAGS,CFLAGS. Bug #331853. Thanks to Diego E. 'Flameeyes'
+ Pettenò <flameeyes@gentoo.org> for reporting
*email2trac-1.4.0 (29 May 2010)
diff --git a/app-misc/email2trac/email2trac-1.4.0.ebuild b/app-misc/email2trac/email2trac-1.4.0.ebuild
index d6a2227c0e0b..0b8c62d15ce1 100644
--- a/app-misc/email2trac/email2trac-1.4.0.ebuild
+++ b/app-misc/email2trac/email2trac-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/email2trac-1.4.0.ebuild,v 1.1 2010/05/29 06:37:32 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/email2trac/email2trac-1.4.0.ebuild,v 1.2 2010/08/12 20:16:08 hwoarang Exp $
EAPI="2"
@@ -24,6 +24,12 @@ pkg_setup() {
einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
}
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in
+}
+
src_configure() {
econf --sysconfdir=/etc/${PN}/ \
--with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \