diff options
author | Lucas Mitrak <lucas@lucasmitrak.com> | 2021-05-29 00:11:22 -0400 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-06-01 11:30:12 +0200 |
commit | 8968649e1fa253daf020d91607ad8da1cb53f218 (patch) | |
tree | a8a92067c5c2abc26c0bd733f808ec084ce7c9aa | |
parent | dev-python/persim: move test deps out of RDEPEND (diff) | |
download | sci-8968649e1fa253daf020d91607ad8da1cb53f218.tar.gz sci-8968649e1fa253daf020d91607ad8da1cb53f218.tar.bz2 sci-8968649e1fa253daf020d91607ad8da1cb53f218.zip |
sci-libs/fox: DEPEND of fortran USE flag for gcc
* add a DEPEND which will require the fortran USE flag in sys-devel/gcc
Currently, sci-libs/fox does not require sys-devel/gcc to have the
fortran USE flag set. If sci-libs/fox is emerged without the fortran
USE flag, the configure phase will check for a fortran compiler, and the
configure phase will fail. By default, the hardened profile disables
the fortran USE flag in sys-devel/gcc, so sci-libs/fox will fail.
With this commit, sci-libs/fox depends on sys-devel/gcc having
a the fortran USE flag set.
Without this commit, sci-libs/fox will fail on any system which does
not have the fortran USE flag in sys-devel/gcc, which by default is
all hardened profiles.
This commit was tested in a docker image with dev-util/ebuildtester.
This commit was written, tested, and submitted by Lucas Mitrak.
Closes: https://bugs.gentoo.org/757771
Signed-off-by: Lucas Mitrak <lucas@lucasmitrak.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r-- | sci-libs/fox/fox-4.1.2-r2.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/fox/fox-4.1.2-r2.ebuild b/sci-libs/fox/fox-4.1.2-r2.ebuild index 42283ca9e..9b216657f 100644 --- a/sci-libs/fox/fox-4.1.2-r2.ebuild +++ b/sci-libs/fox/fox-4.1.2-r2.ebuild @@ -28,6 +28,8 @@ S="${WORKDIR}/${MY_P}" FORTRAN_STANDARD=90 +DEPEND="sys-devel/gcc[fortran]" + PATCHES=( "${FILESDIR}"/4.1.2-r2-install-customizations.patch ) |