commit: 8968649e1fa253daf020d91607ad8da1cb53f218 Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com> AuthorDate: Sat May 29 04:11:22 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Jun 1 09:30:12 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8968649e
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 <AT> lucasmitrak.com> Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-libs/fox/fox-4.1.2-r2.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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 )
