1 |
commit: 19fa3acf1a13dcc5336f564b024fd2bed6b67357 |
2 |
Author: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz> |
3 |
AuthorDate: Fri Jun 27 13:01:42 2014 +0000 |
4 |
Commit: Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz> |
5 |
CommitDate: Fri Jun 27 13:01:42 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=19fa3acf |
7 |
|
8 |
sci-libs/libxc-2.0.3.ebuild adjusted to export the C preprocessor name in the FCCPP variable that the build system looks for |
9 |
|
10 |
Package-Manager: portage-2.2.10 |
11 |
|
12 |
--- |
13 |
sci-libs/libxc/ChangeLog | 4 ++++ |
14 |
sci-libs/libxc/libxc-2.0.3.ebuild | 6 +++++- |
15 |
2 files changed, 9 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-libs/libxc/ChangeLog b/sci-libs/libxc/ChangeLog |
18 |
index d1e4742..3e0060f 100644 |
19 |
--- a/sci-libs/libxc/ChangeLog |
20 |
+++ b/sci-libs/libxc/ChangeLog |
21 |
@@ -2,6 +2,10 @@ |
22 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 27 Jun 2014; Honza Macháček <Hloupy.Honza@×××××××.cz> libxc-2.0.3.ebuild: |
26 |
+ sci-libs/libxc-2.0.3.ebuild adjusted to export the C preprocessor name in the |
27 |
+ FCCPP variable that the build system looks for |
28 |
+ |
29 |
*libxc-2.2.0 (15 Apr 2014) |
30 |
*libxc-2.1.0 (15 Apr 2014) |
31 |
*libxc-2.0.3 (15 Apr 2014) |
32 |
|
33 |
diff --git a/sci-libs/libxc/libxc-2.0.3.ebuild b/sci-libs/libxc/libxc-2.0.3.ebuild |
34 |
index b794ff9..e9103df 100644 |
35 |
--- a/sci-libs/libxc/libxc-2.0.3.ebuild |
36 |
+++ b/sci-libs/libxc/libxc-2.0.3.ebuild |
37 |
@@ -24,7 +24,11 @@ S="${WORKDIR}"/${MY_P} |
38 |
MAKEOPTS+=" -j1" |
39 |
|
40 |
pkg_setup() { |
41 |
- use fortran && fortran-2_pkg_setup |
42 |
+ if use fortran; then |
43 |
+ fortran-2_pkg_setup |
44 |
+ tc-export FC F77 CC CXX CPP |
45 |
+ export FCCPP="$(tc-getCPP)" |
46 |
+ fi |
47 |
} |
48 |
|
49 |
src_prepare() { |