diff options
-rw-r--r-- | app-misc/email2trac/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/email2trac/email2trac-1.4.0.ebuild | 8 |
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} \ |