From acfec978083fcaaa3716143c9e9c78f3f5629c91 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 12 Aug 2010 20:16:08 +0000 Subject: Respect LDFLAGS,CFLAGS. Bug #331853. Thanks to Diego E. 'Flameeyes' Pettenò for reporting (Portage version: 2.2_rc67/cvs/Linux x86_64) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-misc/email2trac/ChangeLog | 7 ++++++- app-misc/email2trac/email2trac-1.4.0.ebuild | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'app-misc/email2trac') 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 + email2trac-1.4.0.ebuild: + Respect LDFLAGS,CFLAGS. Bug #331853. Thanks to Diego E. 'Flameeyes' + Pettenò 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} \ -- cgit v1.2.3-65-gdbad