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