From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/
Date: Tue, 30 Apr 2024 23:08:00 +0000 (UTC) [thread overview]
Message-ID: <1714518464.d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7.dilfridge@gentoo> (raw)
commit: d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 23:06:13 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Apr 30 23:07:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6842bf0
dev-perl/PDL: Upstream does not support building without fortran anymore.
(Makes also no sense, really.)
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
dev-perl/PDL/PDL-2.87.0.ebuild | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/dev-perl/PDL/PDL-2.87.0.ebuild b/dev-perl/PDL/PDL-2.87.0.ebuild
index 879802e954cd..498101d8156e 100644
--- a/dev-perl/PDL/PDL-2.87.0.ebuild
+++ b/dev-perl/PDL/PDL-2.87.0.ebuild
@@ -7,16 +7,14 @@ DIST_AUTHOR=ETJ
DIST_VERSION=2.087
DIST_EXAMPLES=( "Example/*" )
-FORTRAN_NEEDED=fortran
-
-inherit perl-module fortran-2
+inherit perl-module toolchain-funcs fortran-2
DESCRIPTION="Perl Data Language for scientific computing"
LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot test"
+IUSE="+badval doc gd gsl hdf netpbm pdl2 pgplot test"
RDEPEND="
sys-libs/ncurses:=
@@ -44,7 +42,7 @@ RDEPEND="
virtual/perl-Filter-Simple
virtual/perl-Storable
>=virtual/perl-Text-Balanced-2.50.0
- fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 )
+ >=dev-perl/ExtUtils-F77-1.260.0
gd? ( media-libs/gd )
gsl? ( sci-libs/gsl )
hdf? (
@@ -73,7 +71,7 @@ BDEPEND="
>=virtual/perl-ExtUtils-MakeMaker-7.120.0
>=virtual/perl-ExtUtils-ParseXS-3.10.0
virtual/perl-File-Path
- fortran? ( >=dev-perl/ExtUtils-F77-1.130.0 )
+ >=dev-perl/ExtUtils-F77-1.130.0
test? (
dev-perl/Test-Exception
dev-perl/Test-Warn
@@ -90,7 +88,7 @@ PATCHES=(
pkg_setup() {
perl_set_version
- use fortran && fortran-2_pkg_setup
+ fortran-2_pkg_setup
}
src_prepare() {
@@ -109,12 +107,13 @@ src_configure() {
-e "/WITH_GSL/s/=>.*/=> $(use gsl && echo 1 || echo 0),/" \
-e "/WITH_GD/s/=>.*/=> $(use gd && echo 1 || echo 0),/" \
-e "/WITH_HDF/s/=>.*/=> $(use hdf && echo 1 || echo 0),/" \
- -e "/WITH_MINUIT/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
-e "/WITH_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \
-e "/WITH_POSIX_THREADS/s/=>.*/=> 1,/" \
-e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \
- -e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
perldl.conf || die
+
+ export FC=$(tc-getF77)
+
perl-module_src_configure
}
next reply other threads:[~2024-04-30 23:08 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 23:08 Andreas K. Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-11 23:00 [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/ Andreas K. Hüttel
2025-04-11 22:44 Andreas K. Hüttel
2025-04-11 21:18 Andreas K. Hüttel
2025-03-23 9:00 Arthur Zamarin
2025-02-27 22:54 Andreas K. Hüttel
2024-10-14 7:08 Arthur Zamarin
2024-10-14 4:18 Sam James
2024-05-12 0:12 Sam James
2024-05-01 7:54 Sam James
2024-03-27 4:52 Sam James
2023-05-03 18:58 Sam James
2023-03-24 11:26 Arthur Zamarin
2023-03-22 9:21 Sam James
2023-03-22 5:27 Sam James
2021-12-08 5:29 Sam James
2021-11-20 10:23 Arthur Zamarin
2021-10-10 23:45 Sam James
2021-07-17 19:18 Andreas K. Hüttel
2021-03-26 9:21 Andreas K. Hüttel
2020-04-26 10:35 David Seifert
2017-06-24 6:21 Kent Fredric
2017-03-17 10:26 Agostino Sarubbo
2017-03-17 10:15 Agostino Sarubbo
2017-03-15 14:14 Michael Weber
2017-03-15 13:00 Michael Weber
2017-02-13 13:18 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=1714518464.d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7.dilfridge@gentoo \
--to=dilfridge@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