diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-20 19:32:56 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-20 19:32:56 +0000 |
commit | 5c1bf9a3522410d33da4b6a8f3490beba0ea45e1 (patch) | |
tree | dbff9d27249c907c1126e754dd921d5516e99fd7 /dev-util | |
parent | Improve version parsing (bug #246683). (diff) | |
download | gentoo-2-5c1bf9a3522410d33da4b6a8f3490beba0ea45e1.tar.gz gentoo-2-5c1bf9a3522410d33da4b6a8f3490beba0ea45e1.tar.bz2 gentoo-2-5c1bf9a3522410d33da4b6a8f3490beba0ea45e1.zip |
Respect LDFLAGS (bug #336530). Correct CFLAGS sed script. Simplify STRIP sed script. Respect all CFLAGS. Do not set empty DEPEND.
(Portage version: 2.2_rc84/cvs/Linux i686)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ftnchek/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild | 42 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-util/ftnchek/ChangeLog b/dev-util/ftnchek/ChangeLog index f2b84f2fa7d9..d1212dc66216 100644 --- a/dev-util/ftnchek/ChangeLog +++ b/dev-util/ftnchek/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/ftnchek # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ftnchek/ChangeLog,v 1.10 2010/09/20 19:32:56 jer Exp $ + +*ftnchek-3.3.1-r1 (20 Sep 2010) + + 20 Sep 2010; Jeroen Roovers <jer@gentoo.org> +ftnchek-3.3.1-r1.ebuild: + Respect LDFLAGS (bug #336530). Correct CFLAGS sed script. Simplify STRIP + sed script. Respect all CFLAGS. Do not set empty DEPEND. 22 Jan 2010; Dawid Węgliński <cla@gentoo.org> ftnchek-3.2.2.ebuild, ftnchek-3.3.1.ebuild: diff --git a/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild b/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild new file mode 100644 index 000000000000..48c481f74fe8 --- /dev/null +++ b/dev-util/ftnchek/ftnchek-3.3.1-r1.ebuild @@ -0,0 +1,42 @@ +# 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-r1.ebuild,v 1.1 2010/09/20 19:32:56 jer Exp $ + +EAPI="2" + +inherit autotools + +DESCRIPTION="Static analyzer a la 'lint' for Fortran 77" +HOMEPAGE="http://www.dsm.fordham.edu/~ftnchek/" +SRC_URI="http://www.dsm.fordham.edu/~${PN}/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +src_prepare() { + #1 Do not strip + #2 CFLAGS is used internally, so append to it + sed -i Makefile.in \ + -e '/-$(STRIP)/d' \ + -e 's|CFLAGS\([[:space:]]*\)=|CFLAGS\1+=|' \ + || die "sed Makefile.in" + + #1 Respect CFLAGS + #2 Respect LDFLAGS + sed -i configure.in \ + -e 's|OPT=".*"|OPT=""|g' \ + -e '/^LDFLAGS=/d' \ + || die "sed configure.in" + + eautoreconf +} + +src_install() { + einstall || die + dodoc FAQ PATCHES README ToDo + dohtml html/* + dodir /usr/share/${PN} + cp -r test "${D}"/usr/share/${PN} +} |