aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Mitrak <lucas@lucasmitrak.com>2021-05-29 00:11:22 -0400
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-01 11:30:12 +0200
commit8968649e1fa253daf020d91607ad8da1cb53f218 (patch)
treea8a92067c5c2abc26c0bd733f808ec084ce7c9aa
parentdev-python/persim: move test deps out of RDEPEND (diff)
downloadsci-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.ebuild2
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
)