commit: 4b888966f7c6ff0d86ba8b1802457d946c747bb3 Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com> AuthorDate: Sun May 30 22:47:25 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Jun 1 09:30:25 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4b888966
sci-libs/fox: add inherit fortran-2 Currently, sci-libs/fox does not require a fortran compiler to be installed. If sci-libs/fox is emerged without the fortran compiler, the configure phase will check for a fortran compiler, and the configure phase will fail. For example, the hardened profile disables the fortran USE flag in sys-devel/gcc, so sci-libs/fox will fail. With this commit, sci-libs/fox will require a fortran compiler to be installed. Without this commit, sci-libs/fox will fail on any system which does not have the fortran compiler, 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> Closes: https://github.com/gentoo/sci/pull/1083 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-libs/fox/fox-4.1.2-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/fox/fox-4.1.2-r2.ebuild b/sci-libs/fox/fox-4.1.2-r2.ebuild index 9b216657f..a8900c153 100644 --- a/sci-libs/fox/fox-4.1.2-r2.ebuild +++ b/sci-libs/fox/fox-4.1.2-r2.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit fortran-2 + MY_PN="FoX" MY_P="${MY_PN}-${PV}" @@ -28,8 +30,6 @@ S="${WORKDIR}/${MY_P}" FORTRAN_STANDARD=90 -DEPEND="sys-devel/gcc[fortran]" - PATCHES=( "${FILESDIR}"/4.1.2-r2-install-customizations.patch )
