1 |
commit: 4b888966f7c6ff0d86ba8b1802457d946c747bb3 |
2 |
Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com> |
3 |
AuthorDate: Sun May 30 22:47:25 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 09:30:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4b888966 |
7 |
|
8 |
sci-libs/fox: add inherit fortran-2 |
9 |
|
10 |
Currently, sci-libs/fox does not require a fortran compiler |
11 |
to be installed. If sci-libs/fox is emerged without the fortran |
12 |
compiler, the configure phase will check for a fortran compiler, and the |
13 |
configure phase will fail. For example, the hardened profile disables |
14 |
the fortran USE flag in sys-devel/gcc, so sci-libs/fox will fail. |
15 |
With this commit, sci-libs/fox will require a fortran compiler |
16 |
to be installed. |
17 |
Without this commit, sci-libs/fox will fail on any system which does |
18 |
not have the fortran compiler, which by default is all hardened profiles. |
19 |
This commit was tested in a docker image with dev-util/ebuildtester. |
20 |
This commit was written, tested, and submitted by Lucas Mitrak. |
21 |
|
22 |
Closes: https://bugs.gentoo.org/757771 |
23 |
Signed-off-by: Lucas Mitrak <lucas <AT> lucasmitrak.com> |
24 |
Closes: https://github.com/gentoo/sci/pull/1083 |
25 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
26 |
|
27 |
sci-libs/fox/fox-4.1.2-r2.ebuild | 4 ++-- |
28 |
1 file changed, 2 insertions(+), 2 deletions(-) |
29 |
|
30 |
diff --git a/sci-libs/fox/fox-4.1.2-r2.ebuild b/sci-libs/fox/fox-4.1.2-r2.ebuild |
31 |
index 9b216657f..a8900c153 100644 |
32 |
--- a/sci-libs/fox/fox-4.1.2-r2.ebuild |
33 |
+++ b/sci-libs/fox/fox-4.1.2-r2.ebuild |
34 |
@@ -3,6 +3,8 @@ |
35 |
|
36 |
EAPI=7 |
37 |
|
38 |
+inherit fortran-2 |
39 |
+ |
40 |
MY_PN="FoX" |
41 |
MY_P="${MY_PN}-${PV}" |
42 |
|
43 |
@@ -28,8 +30,6 @@ S="${WORKDIR}/${MY_P}" |
44 |
|
45 |
FORTRAN_STANDARD=90 |
46 |
|
47 |
-DEPEND="sys-devel/gcc[fortran]" |
48 |
- |
49 |
PATCHES=( |
50 |
"${FILESDIR}"/4.1.2-r2-install-customizations.patch |
51 |
) |