commit:     19fa3acf1a13dcc5336f564b024fd2bed6b67357
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Fri Jun 27 13:01:42 2014 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Fri Jun 27 13:01:42 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=19fa3acf

sci-libs/libxc-2.0.3.ebuild adjusted to export the C preprocessor name in the 
FCCPP variable that the build system looks for

Package-Manager: portage-2.2.10

---
 sci-libs/libxc/ChangeLog          | 4 ++++
 sci-libs/libxc/libxc-2.0.3.ebuild | 6 +++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog
index d1e4742..3e0060f 100644
--- a/sci-libs/libxc/ChangeLog
+++ b/sci-libs/libxc/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Jun 2014; Honza Macháček <hloupy.ho...@centrum.cz> libxc-2.0.3.ebuild:
+  sci-libs/libxc-2.0.3.ebuild adjusted to export the C preprocessor name in the
+  FCCPP variable that the build system looks for
+
 *libxc-2.2.0 (15 Apr 2014)
 *libxc-2.1.0 (15 Apr 2014)
 *libxc-2.0.3 (15 Apr 2014)

diff --git a/sci-libs/libxc/libxc-2.0.3.ebuild 
b/sci-libs/libxc/libxc-2.0.3.ebuild
index b794ff9..e9103df 100644
--- a/sci-libs/libxc/libxc-2.0.3.ebuild
+++ b/sci-libs/libxc/libxc-2.0.3.ebuild
@@ -24,7 +24,11 @@ S="${WORKDIR}"/${MY_P}
 MAKEOPTS+=" -j1"
 
 pkg_setup() {
-       use fortran && fortran-2_pkg_setup
+       if use fortran; then
+               fortran-2_pkg_setup
+               tc-export FC F77 CC CXX CPP
+               export FCCPP="$(tc-getCPP)"
+       fi
 }
 
 src_prepare() {

Reply via email to