commit:     a66a15f32bae2caff41bbf4831780758a94287d5
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Wed Apr 22 14:29:16 2015 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Wed Apr 22 14:29:16 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a66a15f3

Added pic USE flag to sci-libs/etsf_io-1.0.4-r1, needed by sci-physics/bigdft

Package-Manager: portage-2.2.18

 sci-libs/etsf_io/ChangeLog                                        | 8 +++++++-
 .../etsf_io/{etsf_io-1.0.4.ebuild => etsf_io-1.0.4-r1.ebuild}     | 5 +++--
 sci-libs/etsf_io/metadata.xml                                     | 8 +++++++-
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/sci-libs/etsf_io/ChangeLog b/sci-libs/etsf_io/ChangeLog
index 918ee5f..de46375 100644
--- a/sci-libs/etsf_io/ChangeLog
+++ b/sci-libs/etsf_io/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-libs/etsf_io
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*etsf_io-1.0.4-r1 (22 Apr 2015)
+
+  22 Apr 2015; Honza Macháček <[email protected]>
+  -etsf_io-1.0.4.ebuild, +etsf_io-1.0.4-r1.ebuild, metadata.xml:
+  Added pic USE flag, needed by sci-physics/bigdft
+
   15 Apr 2014; Honza Macháček <[email protected]> etsf_io-1.0.4.ebuild:
   From sci-libs/etsf_io-1.0.4 removed -fPIC, probably not needed, just
   introduced by mistake.

diff --git a/sci-libs/etsf_io/etsf_io-1.0.4.ebuild 
b/sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild
similarity index 86%
rename from sci-libs/etsf_io/etsf_io-1.0.4.ebuild
rename to sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild
index 7fe4fce..60ab088 100644
--- a/sci-libs/etsf_io/etsf_io-1.0.4.ebuild
+++ b/sci-libs/etsf_io/etsf_io-1.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -12,7 +12,7 @@ SRC_URI="http://www.etsf.eu/system/files/${P}.tar.gz";
 
 LICENSE="LGPL-2"
 SLOT="0"
-IUSE="examples"
+IUSE="examples pic"
 KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
@@ -28,6 +28,7 @@ FORTRAN_STANDARD="90"
 src_configure() {
        # fortran 90 uses FCFLAGS
        export FCFLAGS="${FFLAGS:--O2}"
+       use pic && export FCFLAGS="-fPIC ${FCFLAGS}"
        econf \
                $(use_enable examples build-tutorials) \
                --prefix="${EPREFIX}/usr" \

diff --git a/sci-libs/etsf_io/metadata.xml b/sci-libs/etsf_io/metadata.xml
index b229aec..d6ac3f9 100644
--- a/sci-libs/etsf_io/metadata.xml
+++ b/sci-libs/etsf_io/metadata.xml
@@ -1,5 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<herd>sci</herd>
+       <herd>sci</herd>
+       <maintainer>
+               <email>[email protected]</email>
+       </maintainer>
+       <use>
+               <flag name="pic">Compile Position Independent Code</flag>
+       </use>
 </pkgmetadata>

Reply via email to