public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/files/, dev-perl/PDL/
@ 2016-10-29 17:28 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2016-10-29 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     7dfece1daebd74e0aea287287927ff2cf53a023a
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 17:27:34 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 17:28:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dfece1d

dev-perl/PDL: Version bump

Package-Manager: portage-2.3.2

 dev-perl/PDL/Manifest                            |   1 +
 dev-perl/PDL/PDL-2.17.0.ebuild                   | 115 +++++++++++++++++++++++
 dev-perl/PDL/files/PDL-2.17.0-fortran.patch      |  22 +++++
 dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch |  20 ++++
 dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch   |  44 +++++++++
 5 files changed, 202 insertions(+)

diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest
index 71b5fe7..d174e18 100644
--- a/dev-perl/PDL/Manifest
+++ b/dev-perl/PDL/Manifest
@@ -1 +1,2 @@
+DIST PDL-2.017.tar.gz 2889414 SHA256 93b3f22454485d92efb2f85d2e622fd584b2df6a252eae672eba3c39d3c3bd10 SHA512 b1c60b45427153928834619a59ef2213a0845564ae997e22fe202dfee281647edceb68bf3bfa6602ee69a7fd0cc69b7b61ccb74407f490d9fa40230f74599411 WHIRLPOOL 98771811a82f3e3fc504d9af002f844f200f9751d8a492cb205859d094633ea88d88c70f105c9de08b10239037441ea2a6baac192930357b7cd3db24550ced91
 DIST PDL-2.4.11.tar.gz 2859537 SHA256 c777ed2519d73ebde0d870e94931a2d2c57865abcee27dfec53f4412a2cac662 SHA512 014358b7d844a082552782f23d610d62b6f5bf5fccef30dc32ecad665501e278351cf3b33ceafe3387054d2063fc642b7bf56459944ee8c0c3d0d7cef3d78a2b WHIRLPOOL eb6623dce01e0f568ddcd2d399a8ddb394ab839b088347a51c5c73c8cacf91b726cd18f6692e50197ae9040eec9dcb4bc3fa7bb722c66ea316132764d40fa8d4

diff --git a/dev-perl/PDL/PDL-2.17.0.ebuild b/dev-perl/PDL/PDL-2.17.0.ebuild
new file mode 100644
index 00000000..34a58c1
--- /dev/null
+++ b/dev-perl/PDL/PDL-2.17.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=CHM
+DIST_VERSION=2.017
+
+FORTRAN_NEEDED=fortran
+
+inherit perl-module eutils fortran-2
+
+DESCRIPTION="Perl Data Language for scientific computing"
+
+LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot threads"
+
+RDEPEND="sys-libs/ncurses:0=
+	app-arch/sharutils
+	dev-perl/Astro-FITS-Header
+	dev-perl/File-Map
+	>=dev-perl/Inline-0.680.0
+	>=dev-perl/Inline-C-0.620.0
+	dev-perl/Module-Compile
+	dev-perl/OpenGL
+	dev-perl/TermReadKey
+	|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	>=virtual/perl-Data-Dumper-2.121.0
+	virtual/perl-Pod-Parser
+	virtual/perl-File-Spec
+	virtual/perl-File-Temp
+	virtual/perl-Filter-Simple
+	dev-perl/Filter
+	virtual/perl-Storable
+	>=virtual/perl-Text-Balanced-1.890.0
+
+	gd? ( media-libs/gd )
+	gsl? ( sci-libs/gsl )
+	hdf? ( sci-libs/hdf )
+	netpbm? ( media-libs/netpbm virtual/ffmpeg )
+	pdl2? (
+		>=dev-perl/Devel-REPL-1.3.11
+		|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	)
+	pgplot? ( dev-perl/PGPLOT )
+"
+
+DEPEND="${RDEPEND}
+	>=virtual/perl-ExtUtils-MakeMaker-6.560.0
+	dev-perl/Devel-CheckLib
+	fortran? ( >=dev-perl/ExtUtils-F77-1.13 )
+"
+
+mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.17.0-makemakerfix.patch
+	"${FILESDIR}"/${PN}-2.17.0-fortran.patch      # respect user choice for fortran compiler+flags, add pic
+	"${FILESDIR}"/${PN}-2.17.0-shared-hdf.patch   # search for shared hdf instead of static
+)
+
+pkg_setup() {
+	perl_set_version
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	perl-module_src_prepare
+	find . -name Makefile.PL -exec \
+		sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
+}
+
+src_configure() {
+	sed -i \
+		-e '/USE_POGL/s/=>.*/=> 1,/' \
+		-e "/WITH_3D/s/=>.*/=> 1,/" \
+		-e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \
+		-e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \
+		-e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \
+		-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/=>.*/=> $(use threads && echo 1 || echo 0),/" \
+		-e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \
+		-e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
+		perldl.conf || die
+	perl-module_src_configure
+}
+
+src_test() {
+	MAKEOPTS+=" -j1" perl-module_src_test
+}
+
+src_install() {
+	perl-module_src_install
+	cp Doc/{scantree,mkhtmldoc}.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die
+}
+
+pkg_postinst() {
+	perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die
+	elog "Building perldl.db done. You can recreate this at any time"
+	elog "by running:"
+	elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
+}
+
+pkg_prerm() {
+	rm -rf "${EROOT}"/var/lib/pdl/html
+	rm -f  "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod}
+}

diff --git a/dev-perl/PDL/files/PDL-2.17.0-fortran.patch b/dev-perl/PDL/files/PDL-2.17.0-fortran.patch
new file mode 100644
index 00000000..8d02a26
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.17.0-fortran.patch
@@ -0,0 +1,22 @@
+--- a/Lib/Minuit/Makefile.PL
++++ b/Lib/Minuit/Makefile.PL
+@@ -149,7 +149,7 @@
+ 	    ("
+ 
+ minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f 
+-	$mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
++	\$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
+ " )} @minuitfiles;
+ 
+ 	if (!defined($PDL::Config{MINUIT_LIB})){
+--- a/Lib/Slatec/Makefile.PL
++++ b/Lib/Slatec/Makefile.PL
+@@ -136,7 +136,7 @@
+ ("
+ 
+ slatec/$_\$(OBJ_EXT): slatec/$_.f 
+-	$mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
++	\$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
+ " )} @slatecfiles;
+  
+ }

diff --git a/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch b/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch
new file mode 100644
index 00000000..b564a95
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch
@@ -0,0 +1,20 @@
+--- a/Demos/BAD2_demo.pm.PL	2006/04/20 07:42:24	1.1
++++ b/Demos/BAD2_demo.pm.PL	2006/04/20 07:42:32
+@@ -3,6 +3,7 @@
+ # - requires both bad-value support and PGPLOT
+ #
+ 
++use blib;
+ use strict;
+ 
+ use Config;
+--- a/Demos/BAD_demo.pm.PL	2006/04/20 07:42:17	1.1
++++ b/Demos/BAD_demo.pm.PL	2006/04/20 07:42:38
+@@ -3,6 +3,7 @@
+ # - needed since we allow bad pixel handling to be switched off
+ #
+  
++use blib;
+ use strict;
+  
+ use Config;

diff --git a/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch b/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch
new file mode 100644
index 00000000..0937b98
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch
@@ -0,0 +1,44 @@
+diff -ruN PDL-2.017.orig/IO/HDF/Makefile.PL PDL-2.017/IO/HDF/Makefile.PL
+--- PDL-2.017.orig/IO/HDF/Makefile.PL	2016-09-23 12:43:47.000000000 +0200
++++ PDL-2.017/IO/HDF/Makefile.PL	2016-10-27 22:09:04.048315756 +0200
+@@ -56,25 +56,25 @@
+ 
+ # Look for the libs:
+ foreach my $libdir ( @HDF_lib_locations ) {
+-    if (-e "$libdir/libdfalt.a" && !$found_df) {
++    if (-e "$libdir/libdfalt.$Config{so}" && !$found_df) {
+         $found_df = 1;
+         $hdf_lib_path = $libdir;
+                     $hdf_libs = '-lmfhdfalt -ldfalt';
+-        print "Found libdfalt.a at $libdir/libdfalt.a\n";
++        print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n";
+     }
+ 
+-    if (-e "$libdir/libdf.a" && !$found_df) {
++    if (-e "$libdir/libdf.$Config{so}" && !$found_df) {
+         $found_df = 1;
+         $hdf_lib_path = $libdir;
+                     $hdf_libs = '-lmfhdf -ldf';
+-        print "Found libdf.a at $libdir/libdf.a\n";
++        print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n";
+     }
+ 
+-    if (-e "$libdir/libhdf.a" && !$found_df) {
++    if (-e "$libdir/libhdf.$Config{so}" && !$found_df) {
+         $found_df = 1;
+         $hdf_lib_path = $libdir;
+         $hdf_libs = '-lmfhdf -lhdf -lxdr';
+-        print "Found libhdf.a at $libdir/libhdf.a\n";
++        print "Found libhdf.$Config{so} at $libdir/libhdf.$Config{so}\n";
+     }
+ 
+     # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't!
+@@ -91,7 +91,7 @@
+ } # foreach $libdir...
+ 
+ unless( defined( $hdf_lib_path ) ) {
+-    $msg .= "Cannot find hdf library, libdf.a.\n"
++    $msg .= "Cannot find hdf library, libdf.$Config{so}.\n"
+           . "Please add the correct library path to Makefile.PL or install HDF\n";
+ }
+ 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/files/, dev-perl/PDL/
@ 2017-03-17 22:51 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2017-03-17 22:51 UTC (permalink / raw
  To: gentoo-commits

commit:     fb3308414d3e7ffda6d3b50514bef8e869086028
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 22:51:46 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 22:51:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb330841

dev-perl/PDL: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-perl/PDL/Manifest                           |   1 -
 dev-perl/PDL/PDL-2.4.11.ebuild                  | 115 ------------------------
 dev-perl/PDL/files/PDL-2.4.11-fortran.patch     |  22 -----
 dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch |  11 ---
 dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch  |  36 --------
 dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch |  20 -----
 dev-perl/PDL/metadata.xml                       |   1 -
 7 files changed, 206 deletions(-)

diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest
index d174e18ee79..0c76c717c36 100644
--- a/dev-perl/PDL/Manifest
+++ b/dev-perl/PDL/Manifest
@@ -1,2 +1 @@
 DIST PDL-2.017.tar.gz 2889414 SHA256 93b3f22454485d92efb2f85d2e622fd584b2df6a252eae672eba3c39d3c3bd10 SHA512 b1c60b45427153928834619a59ef2213a0845564ae997e22fe202dfee281647edceb68bf3bfa6602ee69a7fd0cc69b7b61ccb74407f490d9fa40230f74599411 WHIRLPOOL 98771811a82f3e3fc504d9af002f844f200f9751d8a492cb205859d094633ea88d88c70f105c9de08b10239037441ea2a6baac192930357b7cd3db24550ced91
-DIST PDL-2.4.11.tar.gz 2859537 SHA256 c777ed2519d73ebde0d870e94931a2d2c57865abcee27dfec53f4412a2cac662 SHA512 014358b7d844a082552782f23d610d62b6f5bf5fccef30dc32ecad665501e278351cf3b33ceafe3387054d2063fc642b7bf56459944ee8c0c3d0d7cef3d78a2b WHIRLPOOL eb6623dce01e0f568ddcd2d399a8ddb394ab839b088347a51c5c73c8cacf91b726cd18f6692e50197ae9040eec9dcb4bc3fa7bb722c66ea316132764d40fa8d4

diff --git a/dev-perl/PDL/PDL-2.4.11.ebuild b/dev-perl/PDL/PDL-2.4.11.ebuild
deleted file mode 100644
index 2341167eb40..00000000000
--- a/dev-perl/PDL/PDL-2.4.11.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=CHM
-FORTRAN_NEEDED=fortran
-
-inherit perl-module eutils fortran-2
-
-DESCRIPTION="Perl Data Language for scientific computing"
-
-LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL"
-SLOT="0"
-KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-# proj support removed #497328
-IUSE="+badval doc fftw fortran gd gsl hdf netpbm pdl2 pgplot plplot threads"
-
-RDEPEND="sys-libs/ncurses
-	app-arch/sharutils
-	dev-perl/Astro-FITS-Header
-	dev-perl/File-Map
-	dev-perl/Inline
-	dev-perl/OpenGL
-	dev-perl/TermReadKey
-	|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
-	virtual/perl-Data-Dumper
-	virtual/perl-Pod-Parser
-	virtual/perl-File-Spec
-	virtual/perl-File-Temp
-	dev-perl/Filter
-	virtual/perl-Storable
-	virtual/perl-Text-Balanced
-	fftw? ( sci-libs/fftw:2.1 )
-	gd? ( media-libs/gd )
-	gsl? ( sci-libs/gsl )
-	hdf? ( sci-libs/hdf )
-	netpbm? ( media-libs/netpbm virtual/ffmpeg )
-	pdl2? ( dev-perl/Devel-REPL )
-	pgplot? ( dev-perl/PGPLOT )
-	plplot? ( sci-libs/plplot )"
-
-DEPEND="${RDEPEND}
-	fortran? ( >=dev-perl/ExtUtils-F77-1.13 )"
-
-REQUIRED_USE="plplot? ( badval )"
-
-mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
-
-SRC_TEST="do"
-
-pkg_setup() {
-	perl_set_version
-	use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-2.4.2-makemakerfix.patch
-	# respect user choice for fortran compiler+flags, add pic
-	epatch "${FILESDIR}"/${PN}-2.4.11-fortran.patch
-	# search for shared fftw instead of static
-	epatch "${FILESDIR}"/${PN}-2.4.11-shared-fftw.patch
-	# search for shared hdf instead of static
-	epatch "${FILESDIR}"/${PN}-2.4.11-shared-hdf.patch
-	find . -name Makefile.PL -exec \
-		sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
-
-	if has_version ">=sci-libs/plplot-5.11"; then
-		sed \
-			-e 's:plplotd:plplot:g' \
-			-i Graphics/PLplot/Makefile.PL || die
-	fi
-}
-
-src_configure() {
-	sed -i \
-		-e '/USE_POGL/s/=>.*/=> 1,/' \
-		-e "/WITH_3D/s/=>.*/=> 1,/" \
-		-e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \
-		-e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \
-		-e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \
-		-e "/WITH_FFTW/s/=>.*/=> $(use fftw && echo 1 || echo 0),/" \
-		-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_PLPLOT/s/=>.*/=> $(use plplot && echo 1 || echo 0),/" \
-		-e "/WITH_POSIX_THREADS/s/=>.*/=> $(use threads && echo 1 || echo 0),/" \
-		-e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \
-		-e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
-		perldl.conf || die
-	perl-module_src_configure
-}
-
-src_test() {
-	MAKEOPTS+=" -j1" perl-module_src_test
-}
-
-src_install() {
-	perl-module_src_install
-	cp Doc/{scantree,mkhtmldoc}.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die
-}
-
-pkg_postinst() {
-	perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl || die
-	elog "Building perldl.db done. You can recreate this at any time"
-	elog "by running:"
-	elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
-}
-
-pkg_prerm() {
-	rm -rf "${EROOT}"/var/lib/pdl/html
-	rm -f  "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod}
-}

diff --git a/dev-perl/PDL/files/PDL-2.4.11-fortran.patch b/dev-perl/PDL/files/PDL-2.4.11-fortran.patch
deleted file mode 100644
index 5cd08d7f59e..00000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-fortran.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- Lib/Minuit/Makefile.PL
-+++ Lib/Minuit/Makefile.PL
-@@ -149,7 +149,7 @@
- 	    ("
- 
- minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f 
--	$mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
-+	\$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
- " )} @minuitfiles;
- 
- 	if (!defined($PDL::Config{MINUIT_LIB})){
---- Lib/Slatec/Makefile.PL
-+++ Lib/Slatec/Makefile.PL
-@@ -136,7 +136,7 @@
- ("
- 
- slatec/$_\$(OBJ_EXT): slatec/$_.f 
--	$mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
-+	\$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
- " )} @slatecfiles;
-  
- }

diff --git a/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch b/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch
deleted file mode 100644
index 859a3ff0dd3..00000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Lib/FFTW/Makefile.PL.orig	2012-08-28 17:10:15.000000000 +0100
-+++ Lib/FFTW/Makefile.PL	2012-08-28 17:19:35.000000000 +0100
-@@ -152,7 +152,7 @@
- 		# make a list of libs from the libstring
- 		my @libs = split ' ',$double_lib;
- 		grep s/\-l//g, @libs;
--		grep $_ = "lib$_.a", @libs;
-+		grep $_ = "lib$_.$Config{so}", @libs;
- 		my %libs;
- 		my $lib;
- 		foreach $libdir(@libdirs){

diff --git a/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch b/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch
deleted file mode 100644
index 3cf22a31ce7..00000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- IO/HDF/Makefile.PL.orig	2012-06-16 18:43:24.000000000 +0100
-+++ IO/HDF/Makefile.PL	2012-06-16 18:44:51.000000000 +0100
-@@ -63,20 +63,20 @@
-     # Look for the libs:
-     foreach my $libdir ( @HDF_lib_locations ) 
-     {
--        if (-e "$libdir/libdfalt.a" && !$found_df) 
-+        if (-e "$libdir/libdfalt.$Config{so}" && !$found_df) 
-         {
-             $found_df = 1;
-             $hdf_lib_path = $libdir;
- 			$hdf_libs = '-lmfhdfalt -ldfalt';
--            print "Found libdfalt.a at $libdir/libdfalt.a\n";
-+            print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n";
-         }
-     
--        if (-e "$libdir/libdf.a" && !$found_df) 
-+        if (-e "$libdir/libdf.$Config{so}" && !$found_df) 
-         {
-             $found_df = 1;
-             $hdf_lib_path = $libdir;
- 			$hdf_libs = '-lmfhdf -ldf';
--            print "Found libdf.a at $libdir/libdf.a\n";
-+            print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n";
-         }
-     
-         # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't!
-@@ -90,7 +90,7 @@
- 
-     unless( defined( $hdf_lib_path ) )
-     {
--        $msg .= "Cannot find hdf library, libdf.a.\n"
-+        $msg .= "Cannot find hdf library, libdf.$Config{so}.\n"
-               . "Please add the correct library path to Makefile.PL or install HDF\n";
-         
-     }

diff --git a/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch b/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch
deleted file mode 100644
index 6cf2c4009a6..00000000000
--- a/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Demos/BAD2_demo.pm.PL	2006/04/20 07:42:24	1.1
-+++ Demos/BAD2_demo.pm.PL	2006/04/20 07:42:32
-@@ -3,6 +3,7 @@
- # - requires both bad-value support and PGPLOT
- #
- 
-+use blib;
- use strict;
- 
- use Config;
---- Demos/BAD_demo.pm.PL	2006/04/20 07:42:17	1.1
-+++ Demos/BAD_demo.pm.PL	2006/04/20 07:42:38
-@@ -3,6 +3,7 @@
- # - needed since we allow bad pixel handling to be switched off
- #
-  
-+use blib;
- use strict;
-  
- use Config;

diff --git a/dev-perl/PDL/metadata.xml b/dev-perl/PDL/metadata.xml
index 2c7e5a33ee5..78148d2297f 100644
--- a/dev-perl/PDL/metadata.xml
+++ b/dev-perl/PDL/metadata.xml
@@ -24,7 +24,6 @@
     <flag name="netpbm">Enable NETPBM and MPEG support</flag>
     <flag name="pdl2">Build pdf2 shell (requires Devel-REPL)</flag>
     <flag name="pgplot">Enable PGPLOT plotting capabilities</flag>
-    <flag name="plplot">Enable plplot plotting capabilities</flag>
   </use>
   <upstream>
     <remote-id type="cpan">PDL</remote-id>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/files/, dev-perl/PDL/
@ 2021-07-28 22:56 Andreas K. Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2021-07-28 22:56 UTC (permalink / raw
  To: gentoo-commits

commit:     844d1053833c14f0f36923d63e71342b03f3b363
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 28 22:55:35 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 22:55:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844d1053

dev-perl/PDL: Version bump 2.054

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 dev-perl/PDL/Manifest                       |   1 +
 dev-perl/PDL/PDL-2.54.0.ebuild              | 136 ++++++++++++++++++++++++++++
 dev-perl/PDL/files/PDL-2.54.0-fortran.patch |  24 +++++
 3 files changed, 161 insertions(+)

diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest
index 78daa4bf4ec..84756b06eb5 100644
--- a/dev-perl/PDL/Manifest
+++ b/dev-perl/PDL/Manifest
@@ -1 +1,2 @@
 DIST PDL-2.017.tar.gz 2889414 BLAKE2B e49e0ee7e7fc3d95dd27098e8008930673cc4067331f2e4d9eecf8584fe717b15d5b4c7198548ea79a4543d94c1078f5e6eedd731b94d7ce062ab2841c32fc8d SHA512 b1c60b45427153928834619a59ef2213a0845564ae997e22fe202dfee281647edceb68bf3bfa6602ee69a7fd0cc69b7b61ccb74407f490d9fa40230f74599411
+DIST PDL-2.054.tar.gz 2848187 BLAKE2B e96598f88b4b3cabda88785881e9651b2984c2850fd1b161f869bb462386509c4fd659324cd5bdd139152a9d3db4857fe6443ac090c8d4740482972bdab893f5 SHA512 56b7c77961e19747a1117b63f35a3667b4b7ed14c991bf673eb1f4df4970d642f37170a6abd55d219897b0e02fcd42d7475f6b1268b810706c6818595682de2a

diff --git a/dev-perl/PDL/PDL-2.54.0.ebuild b/dev-perl/PDL/PDL-2.54.0.ebuild
new file mode 100644
index 00000000000..692862730a5
--- /dev/null
+++ b/dev-perl/PDL/PDL-2.54.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ETJ
+DIST_VERSION=2.054
+DIST_EXAMPLES=( "Example/*" )
+
+FORTRAN_NEEDED=fortran
+
+inherit perl-module 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 threads test"
+
+RDEPEND="
+	sys-libs/ncurses:0=
+	app-arch/sharutils
+	dev-perl/Astro-FITS-Header
+	dev-perl/Convert-UU
+	>=virtual/perl-Data-Dumper-2.121.0
+	>=dev-perl/File-Map-0.570.0
+	>=virtual/perl-Filter-Simple-0.880.0
+	dev-perl/Filter
+	>=dev-perl/Inline-0.830.0
+	>=dev-perl/Inline-C-0.620.0
+	>=virtual/perl-Scalar-List-Utils-1.330.0
+	dev-perl/Module-Compile
+	>=dev-perl/OpenGL-0.700.0
+	>=dev-perl/TermReadKey-2.340.0
+	|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	>=virtual/perl-Data-Dumper-2.121.0
+	dev-perl/Pod-Parser
+	virtual/perl-File-Spec
+	virtual/perl-File-Temp
+	virtual/perl-Filter-Simple
+	virtual/perl-Storable
+	>=virtual/perl-Text-Balanced-1.890.0
+	fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 )
+	gd? ( media-libs/gd )
+	gsl? ( sci-libs/gsl )
+	hdf? (
+		sci-libs/hdf
+		dev-perl/Alien-HDF4
+	)
+	netpbm? (
+		media-libs/netpbm
+		media-video/ffmpeg
+	)
+	pdl2? (
+		>=dev-perl/Devel-REPL-1.3.11
+		|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	)
+	pgplot? ( dev-perl/PGPLOT )
+"
+
+DEPEND="${RDEPEND}
+"
+
+BDEPEND="${RDEPEND}
+	>=virtual/perl-Carp-1.200.0
+	>=dev-perl/Devel-CheckLib-1.10.0
+	>=dev-perl/ExtUtils-Depends-0.402.0
+	>=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 )
+	test? (
+		dev-perl/Test-Exception
+		dev-perl/Test-Warn
+		dev-perl/Test-Deep
+	)
+"
+
+mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.54.0-fortran.patch      # respect user choice for fortran compiler+flags, add pic
+)
+
+pkg_setup() {
+	perl_set_version
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	perl-module_src_prepare
+	find . -name Makefile.PL -exec \
+		sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
+}
+
+src_configure() {
+	sed -i \
+		-e '/USE_POGL/s/=>.*/=> 1,/' \
+		-e "/WITH_3D/s/=>.*/=> 1,/" \
+		-e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \
+		-e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \
+		-e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \
+		-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/=>.*/=> $(use threads && echo 1 || echo 0),/" \
+		-e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \
+		-e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
+		perldl.conf || die
+	perl-module_src_configure
+}
+
+src_test() {
+	MAKEOPTS+=" -j1" perl-module_src_test
+}
+
+src_install() {
+	perl-module_src_install
+	cp Doc/{scantree,mkhtmldoc}.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die
+}
+
+pkg_postinst() {
+	perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die
+	elog "Building perldl.db done. You can recreate this at any time"
+	elog "by running:"
+	elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
+}
+
+pkg_prerm() {
+	rm -rf "${EROOT}"/var/lib/pdl/html
+	rm -f  "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod}
+}

diff --git a/dev-perl/PDL/files/PDL-2.54.0-fortran.patch b/dev-perl/PDL/files/PDL-2.54.0-fortran.patch
new file mode 100644
index 00000000000..883d4e4ade6
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.54.0-fortran.patch
@@ -0,0 +1,24 @@
+diff -ruN PDL-2.054.orig/Libtmp/Minuit/Makefile.PL PDL-2.054/Libtmp/Minuit/Makefile.PL
+--- PDL-2.054.orig/Libtmp/Minuit/Makefile.PL	2021-06-13 15:28:36.000000000 +0200
++++ PDL-2.054/Libtmp/Minuit/Makefile.PL	2021-07-29 00:34:57.754727357 +0200
+@@ -139,7 +139,7 @@
+ 	    ("
+ 
+ minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f 
+-	$mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
++	\$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
+ " )} @minuitfiles;
+ 
+ 	if (!defined($PDL::Config{MINUIT_LIB})){
+diff -ruN PDL-2.054.orig/Libtmp/Slatec/Makefile.PL PDL-2.054/Libtmp/Slatec/Makefile.PL
+--- PDL-2.054.orig/Libtmp/Slatec/Makefile.PL	2021-06-13 15:29:15.000000000 +0200
++++ PDL-2.054/Libtmp/Slatec/Makefile.PL	2021-07-29 00:34:57.754727357 +0200
+@@ -103,7 +103,7 @@
+ ("
+ 
+ slatec/$_\$(OBJ_EXT): slatec/$_.f 
+-	$mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
++	\$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
+ " )} @slatecfiles;
+  
+ };


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/files/, dev-perl/PDL/
@ 2024-04-10  0:57 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-04-10  0:57 UTC (permalink / raw
  To: gentoo-commits

commit:     95b7c07b2a05902b8002a4f7ab91034247fdb810
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 10 00:30:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 00:56:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b7c07b

dev-perl/PDL: add 2.87.0

* Drop USE=threads. Tests fail to compile with USE=-threads with:
  ```
  Basic/SourceFilter/../../blib/arch/auto/PDL/Core/Core.so: undefined symbol: pdl_pthread_free at /usr/lib64/perl5/5.38/x86_64-linux/DynaLoader.pm line 206.
  ```

  and configure loudly warns too:
  ```
        pthread disabled in perldl.conf
PDL will be built without POSIX thread support.
        ==> *NOTE*: PDL threads are unrelated to perl threads (usethreads=y)!
        ==> Enabling perl threads will not help!
  ```

  Just drop it. I don't see the value in it here. See net-misc/curl's
  bd4d42f83c774c36bf879a5b7ec89d373546743e for the general rationale in killing
  USE=threads.

* Drop now-obsolete LTO filtering as it was fixed in the last release after
  Eli reported it upstream, yay!

Bug: https://bugs.gentoo.org/856406
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/PDL/Manifest                       |   1 +
 dev-perl/PDL/PDL-2.87.0.ebuild              | 140 ++++++++++++++++++++++++++++
 dev-perl/PDL/files/PDL-2.87.0-fortran.patch |  26 ++++++
 3 files changed, 167 insertions(+)

diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest
index 720e78ada332..64e2a2275716 100644
--- a/dev-perl/PDL/Manifest
+++ b/dev-perl/PDL/Manifest
@@ -1 +1,2 @@
 DIST PDL-2.063.tar.gz 2813482 BLAKE2B eff1737c2d27a51b911f8dd32095bb3016cddf52a93242ddad9fad3e179cd499d84b17ef1fbed4e11bdc759823032636cc32994eea2b8c91c6adda7cb1f15ef9 SHA512 dfb776103fa98da990cc30939e218b392c7c25c8c645230a71c7e881cf5325c97f855fe46e9bc093c7517883f78457f67eee14012fa5b39790b8dfcfa1ec08c9
+DIST PDL-2.087.tar.gz 2980457 BLAKE2B 8a29b78e49bff5f682e460abf452f725b811ec0929bf8419050d62c868b51007a2d234c171b6a4435fa0c0f9e10f41e15dfc7507f9eabac7fc00f0d44a28ea36 SHA512 3c046cff3cba25d14b062041b3abc195a2995473b3e3e97428db0a06d5b9630079f7d9d12288aa1f2f95f9c562ee3079a7f17703abe947fb8bab5f0a5282e609

diff --git a/dev-perl/PDL/PDL-2.87.0.ebuild b/dev-perl/PDL/PDL-2.87.0.ebuild
new file mode 100644
index 000000000000..879802e954cd
--- /dev/null
+++ b/dev-perl/PDL/PDL-2.87.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ETJ
+DIST_VERSION=2.087
+DIST_EXAMPLES=( "Example/*" )
+
+FORTRAN_NEEDED=fortran
+
+inherit perl-module 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"
+
+RDEPEND="
+	sys-libs/ncurses:=
+	app-arch/sharutils
+	dev-perl/Astro-FITS-Header
+	dev-perl/Convert-UU
+	>=virtual/perl-Data-Dumper-2.121.0
+	>=dev-perl/File-Map-0.570.0
+	>=virtual/perl-Filter-Simple-0.880.0
+	dev-perl/Filter
+	dev-perl/File-Which
+	>=dev-perl/Inline-0.830.0
+	>=dev-perl/Inline-C-0.620.0
+	>=virtual/perl-Scalar-List-Utils-1.330.0
+	virtual/perl-Math-Complex
+	dev-perl/Module-Compile
+	>=dev-perl/OpenGL-0.700.0
+	dev-perl/OpenGL-GLUT
+	>=dev-perl/TermReadKey-2.340.0
+	|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	>=virtual/perl-Data-Dumper-2.121.0
+	dev-perl/Pod-Parser
+	virtual/perl-File-Spec
+	virtual/perl-File-Temp
+	virtual/perl-Filter-Simple
+	virtual/perl-Storable
+	>=virtual/perl-Text-Balanced-2.50.0
+	fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 )
+	gd? ( media-libs/gd )
+	gsl? ( sci-libs/gsl )
+	hdf? (
+		sci-libs/hdf
+		dev-perl/Alien-HDF4
+	)
+	netpbm? (
+		media-libs/netpbm
+		media-video/ffmpeg
+	)
+	pdl2? (
+		>=dev-perl/Devel-REPL-1.3.11
+		|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
+	)
+	pgplot? ( dev-perl/PGPLOT )
+"
+DEPEND="
+	${RDEPEND}
+"
+
+BDEPEND="
+	${RDEPEND}
+	>=virtual/perl-Carp-1.200.0
+	>=dev-perl/Devel-CheckLib-1.10.0
+	>=dev-perl/ExtUtils-Depends-0.402.0
+	>=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 )
+	test? (
+		dev-perl/Test-Exception
+		dev-perl/Test-Warn
+		dev-perl/Test-Deep
+	)
+"
+
+mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
+
+PATCHES=(
+	# Respect user choice for fortran compiler+flags, add pic
+	"${FILESDIR}"/${PN}-2.87.0-fortran.patch
+)
+
+pkg_setup() {
+	perl_set_version
+	use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+	perl-module_src_prepare
+	find . -name Makefile.PL -exec \
+		sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
+}
+
+src_configure() {
+	sed -i \
+		-e '/USE_POGL/s/=>.*/=> 1,/' \
+		-e "/WITH_3D/s/=>.*/=> 1,/" \
+		-e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \
+		-e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \
+		-e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \
+		-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
+	perl-module_src_configure
+}
+
+src_test() {
+	MAKEOPTS+=" -j1" perl-module_src_test
+}
+
+src_install() {
+	perl-module_src_install
+	cp Doc/scantree.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die
+}
+
+pkg_postinst() {
+	perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die
+	elog "Building perldl.db done. You can recreate this at any time"
+	elog "by running:"
+	elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
+}
+
+pkg_prerm() {
+	rm -rf "${EROOT}"/var/lib/pdl/html
+	rm -f  "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod}
+}

diff --git a/dev-perl/PDL/files/PDL-2.87.0-fortran.patch b/dev-perl/PDL/files/PDL-2.87.0-fortran.patch
new file mode 100644
index 000000000000..96a676e970eb
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.87.0-fortran.patch
@@ -0,0 +1,26 @@
+diff --git a/Libtmp/Minuit/Makefile.PL b/Libtmp/Minuit/Makefile.PL
+index bd2c933..2268225 100644
+--- a/Libtmp/Minuit/Makefile.PL
++++ b/Libtmp/Minuit/Makefile.PL
+@@ -125,7 +125,7 @@ undef &MY::postamble; # suppress warning
+ 	$orig .= "FFLAGS = $hack_64bit $mycflags \$(OPTIMIZE)\n";
+ 	$orig .= join "\n",map {
+ 	    ("minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f
+-	$mycompiler -c \$(FFLAGS) -o minuitlib/$_\$(OBJ_EXT) minuitlib/$_.f
++	\$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
+ " )} @minuitfiles;
+ 	return $orig;
+ };
+diff --git a/Libtmp/Slatec/Makefile.PL b/Libtmp/Slatec/Makefile.PL
+index 443d53b..b4675f7 100644
+--- a/Libtmp/Slatec/Makefile.PL
++++ b/Libtmp/Slatec/Makefile.PL
+@@ -85,7 +85,7 @@ undef &MY::postamble; # suppress warning
+ 	$orig =~ s/:\s*slatec\.pd/: slatec.pd/;
+ 	$orig .= "FFLAGS = $hack_64bit $mycflags \$(OPTIMIZE)\n";
+ 	join "\n", $orig, map "$_\$(OBJ_EXT): $_.f
+-	$mycompiler -c \$(FFLAGS) -o $_\$(OBJ_EXT) $_.f", @slatecfiles;
++	\$(FC) \$(FFLAGS) -c -fPIC -o $_\$(OBJ_EXT) $mycflags $_.f", @slatecfiles;
+ };
+ 
+ # Remove i386 option for OS X recent versions for better build, dual arch does not work anyway


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-10  0:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-10  0:57 [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/files/, dev-perl/PDL/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-07-28 22:56 Andreas K. Hüttel
2017-03-17 22:51 Andreas Hüttel
2016-10-29 17:28 Andreas Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox