From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/xfoil/
Date: Thu, 11 Apr 2024 06:08:00 +0000 (UTC) [thread overview]
Message-ID: <1712815499.8029cc3cdcc002d98e46cced54851893ffa3f19c.amadio@gentoo> (raw)
commit: 8029cc3cdcc002d98e46cced54851893ffa3f19c
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Mar 30 20:27:54 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 06:04:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8029cc3c
sci-physics/xfoil: EAPI8 bump, fix bug #820623, #725718
Closes: https://bugs.gentoo.org/820623
Closes: https://bugs.gentoo.org/725718
Closes: https://github.com/gentoo/gentoo/pull/36004
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
.../{xfoil-6.99.ebuild => xfoil-6.99-r1.ebuild} | 24 ++++++++++++++--------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/sci-physics/xfoil/xfoil-6.99.ebuild b/sci-physics/xfoil/xfoil-6.99-r1.ebuild
similarity index 78%
rename from sci-physics/xfoil/xfoil-6.99.ebuild
rename to sci-physics/xfoil/xfoil-6.99-r1.ebuild
index 36047f4e3d56..23bffe5c71d6 100644
--- a/sci-physics/xfoil/xfoil-6.99.ebuild
+++ b/sci-physics/xfoil/xfoil-6.99-r1.ebuild
@@ -1,17 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit fortran-2 flag-o-matic toolchain-funcs
DESCRIPTION="Design and analysis of subsonic isolated airfoils"
-HOMEPAGE="http://raphael.mit.edu/xfoil/"
+HOMEPAGE="https://web.mit.edu/drela/Public/web/xfoil/"
SRC_URI="
- http://web.mit.edu/drela/Public/web/${PN}/${PN}${PV}.tgz
- doc? ( http://web.mit.edu/drela/Public/web/${PN}/dataflow.pdf )"
+ https://web.mit.edu/drela/Public/web/${PN}/${PN}${PV}.tgz
+ doc? ( https://web.mit.edu/drela/Public/web/${PN}/dataflow.pdf )"
+S="${WORKDIR}/${PN^}"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples"
@@ -21,8 +22,6 @@ DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
-S="${WORKDIR}/${PN^}"
-
src_prepare() {
# fix bug #147033
[[ $(tc-getFC) == *gfortran ]] && PATCHES+=( "${FILESDIR}"/${PN}-6.96-gfortran.patch )
@@ -52,7 +51,11 @@ src_compile() {
pushd orrs >/dev/null || die
bin/osgen osmaps_ns.lst || die
popd >/dev/null || die
- emake -C plotlib CFLAGS="${CFLAGS} -DUNDERSCORE"
+ emake -C plotlib \
+ CFLAGS="${CFLAGS} -DUNDERSCORE" \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR) r" \
+ RANLIB="$(tc-getRANLIB)"
local i
for i in blu pplot pxplot xfoil; do
@@ -60,6 +63,9 @@ src_compile() {
PLTOBJ="../plotlib/libPlt_gSP.a" \
CFLAGS="${CFLAGS} -DUNDERSCORE" \
FTNLIB="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR) r" \
+ RANLIB="$(tc-getRANLIB)" \
$i
done
}
next reply other threads:[~2024-04-11 6:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 6:08 Guilherme Amadio [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-19 13:11 [gentoo-commits] repo/gentoo:master commit in: sci-physics/xfoil/ Sam James
2020-02-13 21:40 David Seifert
2017-11-25 17:42 David Seifert
2017-03-05 21:28 Andrew Savchenko
2016-11-13 21:49 David Seifert
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=1712815499.8029cc3cdcc002d98e46cced54851893ffa3f19c.amadio@gentoo \
--to=amadio@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