diff options
author | Dawid Węgliński <cla@gentoo.org> | 2010-01-22 12:08:22 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2010-01-22 12:08:22 +0000 |
commit | b5b12d17f9114e47a11df1dc94cffc2d4a385707 (patch) | |
tree | 31548afefe2ab428810085f64978e28865c8c763 /dev-util/ftnchek | |
parent | Version bump (diff) | |
download | gentoo-2-b5b12d17f9114e47a11df1dc94cffc2d4a385707.tar.gz gentoo-2-b5b12d17f9114e47a11df1dc94cffc2d4a385707.tar.bz2 gentoo-2-b5b12d17f9114e47a11df1dc94cffc2d4a385707.zip |
Respect users CFLAGS (bug #240279)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/ftnchek')
-rw-r--r-- | dev-util/ftnchek/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/ftnchek/ftnchek-3.2.2.ebuild | 11 | ||||
-rw-r--r-- | dev-util/ftnchek/ftnchek-3.3.1.ebuild | 6 |
3 files changed, 19 insertions, 6 deletions
diff --git a/dev-util/ftnchek/ChangeLog b/dev-util/ftnchek/ChangeLog index 95d72d184a52..f2b84f2fa7d9 100644 --- a/dev-util/ftnchek/ChangeLog +++ b/dev-util/ftnchek/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/ftnchek -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ChangeLog,v 1.8 2007/05/15 09:10:31 bangert Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ChangeLog,v 1.9 2010/01/22 12:08:22 cla Exp $ + + 22 Jan 2010; Dawid Węgliński <cla@gentoo.org> ftnchek-3.2.2.ebuild, + ftnchek-3.3.1.ebuild: + Respect users CFLAGS (bug #240279) 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/dev-util/ftnchek/ftnchek-3.2.2.ebuild b/dev-util/ftnchek/ftnchek-3.2.2.ebuild index d37a60fe7064..ea521fd1e134 100644 --- a/dev-util/ftnchek/ftnchek-3.2.2.ebuild +++ b/dev-util/ftnchek/ftnchek-3.2.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ftnchek-3.2.2.ebuild,v 1.7 2009/10/12 19:14:37 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ftnchek-3.2.2.ebuild,v 1.8 2010/01/22 12:08:22 cla Exp $ DESCRIPTION="Static analyzer a la 'lint' for Fortran 77" HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/" @@ -11,6 +11,13 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="" +src_unpack() { + unpack ${A} + cd "${S}" + sed -r -e 's/CFLAGS([[:space:]]+)=/CFLAGS\1+=/' \ + -i Makefile.in || die 'sed failed' +} + src_install() { einstall || die dodoc FAQ PATCHES README ToDo diff --git a/dev-util/ftnchek/ftnchek-3.3.1.ebuild b/dev-util/ftnchek/ftnchek-3.3.1.ebuild index 7cebf9eb449d..4697f67a64d9 100644 --- a/dev-util/ftnchek/ftnchek-3.3.1.ebuild +++ b/dev-util/ftnchek/ftnchek-3.3.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ftnchek-3.3.1.ebuild,v 1.3 2009/10/12 19:14:37 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ftnchek-3.3.1.ebuild,v 1.4 2010/01/22 12:08:22 cla Exp $ DESCRIPTION="Static analyzer a la 'lint' for Fortran 77" HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/" @@ -17,6 +17,8 @@ src_unpack() { unpack ${A} cd "${S}" sed -i -e 's:-$(STRIP) $(bindir)/ftnchek$(EXE)::' Makefile.in || die 'sed failed' + sed -r -e 's/CFLAGS([[:space:]]+)=/CFLAGS\1+=/' \ + -i Makefile.in || die 'sed failed' } src_install() { |