public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/fox/
Date: Tue,  1 Jun 2021 09:30:41 +0000 (UTC)	[thread overview]
Message-ID: <1622539825.4b888966f7c6ff0d86ba8b1802457d946c747bb3.andrewammerlaan@gentoo> (raw)

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
 )


             reply	other threads:[~2021-06-01  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01  9:30 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-01  9:30 [gentoo-commits] proj/sci:master commit in: sci-libs/fox/ Andrew Ammerlaan
2015-09-23 10:42 Justin Lecher
2012-06-22 22:38 Alexey Shvetsov
2011-06-24 17:09 Justin Lecher
2011-06-24 17:09 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622539825.4b888966f7c6ff0d86ba8b1802457d946c747bb3.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox