commit:     9f837d27385a52fda3dbd04c4ec58801bbda0645
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Tue Apr 15 14:29:37 2014 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Tue Apr 15 14:29:37 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9f837d27

sci-libs/etsf_io bumped to version 1.0.4. No longer needs help to link with 
netcdf, but requires -fPIC to compile.

Package-Manager: portage-2.2.10

---
 sci-libs/etsf_io/ChangeLog            |  9 ++++++++-
 sci-libs/etsf_io/etsf_io-1.0.4.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/sci-libs/etsf_io/ChangeLog b/sci-libs/etsf_io/ChangeLog
index 073dcb9..f37ec17 100644
--- a/sci-libs/etsf_io/ChangeLog
+++ b/sci-libs/etsf_io/ChangeLog
@@ -1,7 +1,14 @@
 # ChangeLog for sci-libs/etsf_io
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*etsf_io-1.0.4 (15 Apr 2014)
+
+  15 Apr 2014; Honza Macháček <hloupy.ho...@centrum.cz>
+  +etsf_io-1.0.4.ebuild:
+  Version bump. 1.0.4 no longer needs help to link with netcdf, but requires
+  -fPIC to compile.
+
   20 Jun 2013; Honza Macháček <hloupy.ho...@centrum.cz>
   etsf_io-1.0.3-r2.ebuild:
   The announced, but forgotten, change actually done.

diff --git a/sci-libs/etsf_io/etsf_io-1.0.4.ebuild 
b/sci-libs/etsf_io/etsf_io-1.0.4.ebuild
new file mode 100644
index 0000000..4069b77
--- /dev/null
+++ b/sci-libs/etsf_io/etsf_io-1.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit fortran-2 multilib
+
+DESCRIPTION="A library of F90 routines to read/write the ETSF file format"
+HOMEPAGE="http://www.etsf.eu/resources/software/libraries_and_tools/";
+SRC_URI="http://www.etsf.eu/system/files/${P}.tar.gz";
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="examples"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       || (
+               sci-libs/netcdf[fortran]
+               sci-libs/netcdf-fortran
+       )
+       virtual/fortran"
+DEPEND="${RDEPEND}"
+
+FORTRAN_STANDARD="90"
+
+src_configure() {
+       # fortran 90 uses FCFLAGS
+       export FCFLAGS="${FFLAGS:--O2} -fPIC"
+       econf \
+               $(use_enable examples build-tutorials) \
+               --prefix="${EPREFIX}/usr" \
+               --with-moduledir="${EPREFIX}/usr/include"
+}

Reply via email to