summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-28 16:37:26 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-28 16:37:26 +0000
commitbb3aef1bbc0e71822dadd671728424d9cef6261c (patch)
treed48e79c512e2c9f455f497c699a3fe9785268565 /dev-perl/PDL
parentShutup repoman. (diff)
downloadgentoo-2-bb3aef1bbc0e71822dadd671728424d9cef6261c.tar.gz
gentoo-2-bb3aef1bbc0e71822dadd671728424d9cef6261c.tar.bz2
gentoo-2-bb3aef1bbc0e71822dadd671728424d9cef6261c.zip
Link fftw with shared libraries, fixing bug #432670
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r--dev-perl/PDL/ChangeLog6
-rw-r--r--dev-perl/PDL/PDL-2.4.11.ebuild4
-rw-r--r--dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch11
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-perl/PDL/ChangeLog b/dev-perl/PDL/ChangeLog
index 03f3aeac17f8..8d95e5f48ae3 100644
--- a/dev-perl/PDL/ChangeLog
+++ b/dev-perl/PDL/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/PDL
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.101 2012/07/06 03:53:51 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.102 2012/08/28 16:37:26 bicatali Exp $
+
+ 28 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/PDL-2.4.11-shared-fftw.patch, PDL-2.4.11.ebuild:
+ Link fftw with shared libraries, fixing bug #432670
06 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> PDL-2.4.11.ebuild:
Prefix fixes and keywording amd64-linux, x86-linux
diff --git a/dev-perl/PDL/PDL-2.4.11.ebuild b/dev-perl/PDL/PDL-2.4.11.ebuild
index a3070c851ef0..2139b8484585 100644
--- a/dev-perl/PDL/PDL-2.4.11.ebuild
+++ b/dev-perl/PDL/PDL-2.4.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.11.ebuild,v 1.2 2012/07/06 03:53:51 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.11.ebuild,v 1.3 2012/08/28 16:37:26 bicatali Exp $
EAPI=4
@@ -58,6 +58,8 @@ 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 \
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
new file mode 100644
index 000000000000..859a3ff0dd3d
--- /dev/null
+++ b/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch
@@ -0,0 +1,11 @@
+--- 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){