1 |
tove 09/04/21 18:08:03 |
2 |
|
3 |
Modified: ChangeLog PDL-2.4.4.ebuild |
4 |
Log: |
5 |
Fix automagic dependency on fftw. Thanks to Sébastien Fabbro (#266845) |
6 |
(Portage version: 2.2_rc31/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.81 dev-perl/PDL/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.81&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?rev=1.81&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/ChangeLog?r1=1.80&r2=1.81 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v |
18 |
retrieving revision 1.80 |
19 |
retrieving revision 1.81 |
20 |
diff -u -r1.80 -r1.81 |
21 |
--- ChangeLog 1 Jan 2009 18:54:31 -0000 1.80 |
22 |
+++ ChangeLog 21 Apr 2009 18:08:03 -0000 1.81 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for dev-perl/PDL |
25 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.80 2009/01/01 18:54:31 armin76 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.81 2009/04/21 18:08:03 tove Exp $ |
28 |
+ |
29 |
+ 21 Apr 2009; Torsten Veller <tove@g.o> PDL-2.4.4.ebuild: |
30 |
+ Fix automagic dependency on fftw. Thanks to Sébastien Fabbro (#266845) |
31 |
|
32 |
01 Jan 2009; Raúl Porcel <armin76@g.o> PDL-2.4.3-r1.ebuild, |
33 |
PDL-2.4.4.ebuild: |
34 |
|
35 |
|
36 |
|
37 |
1.4 dev-perl/PDL/PDL-2.4.4.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild?rev=1.4&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild?rev=1.4&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild?r1=1.3&r2=1.4 |
42 |
|
43 |
Index: PDL-2.4.4.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild,v |
46 |
retrieving revision 1.3 |
47 |
retrieving revision 1.4 |
48 |
diff -u -r1.3 -r1.4 |
49 |
--- PDL-2.4.4.ebuild 1 Jan 2009 18:54:31 -0000 1.3 |
50 |
+++ PDL-2.4.4.ebuild 21 Apr 2009 18:08:03 -0000 1.4 |
51 |
@@ -1,6 +1,8 @@ |
52 |
# Copyright 1999-2009 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild,v 1.3 2009/01/01 18:54:31 armin76 Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.4.ebuild,v 1.4 2009/04/21 18:08:03 tove Exp $ |
56 |
+ |
57 |
+EAPI=2 |
58 |
|
59 |
MODULE_AUTHOR=CHM |
60 |
inherit perl-module eutils multilib |
61 |
@@ -10,7 +12,7 @@ |
62 |
LICENSE="Artistic as-is" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86" |
65 |
-IUSE="opengl badval gsl" |
66 |
+IUSE="badval fftw gsl opengl" |
67 |
|
68 |
DEPEND=">=sys-libs/ncurses-5.2 |
69 |
perl-core/Filter |
70 |
@@ -22,16 +24,13 @@ |
71 |
opengl? ( virtual/opengl virtual/glu ) |
72 |
dev-perl/Term-ReadLine-Perl |
73 |
gsl? ( sci-libs/gsl ) |
74 |
- >=sys-apps/sed-4" |
75 |
+ fftw? ( sci-libs/fftw:2.1 )" |
76 |
|
77 |
mydoc="DEPENDENCIES DEVELOPMENT MANIFEST* Release_Notes TODO" |
78 |
|
79 |
#SRC_TEST="do" |
80 |
|
81 |
-src_unpack() { |
82 |
- unpack ${A} |
83 |
- cd "${S}" |
84 |
- |
85 |
+src_prepare() { |
86 |
epatch "${FILESDIR}/PDL-2.4.2-makemakerfix.patch" |
87 |
|
88 |
# Unconditional -fPIC for the lib (#55238, #180807, #250335) |
89 |
@@ -56,6 +55,12 @@ |
90 |
else |
91 |
sed -i -e "s:WITH_GSL => undef:WITH_GSL => 0:" "${S}/perldl.conf" |
92 |
fi |
93 |
+ # Turn off FFTW automagic too: |
94 |
+ if use fftw ; then |
95 |
+ sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 1:" "${S}/perldl.conf" |
96 |
+ else |
97 |
+ sed -i -e "s:WITH_FFTW => undef:WITH_FFTW => 0:" "${S}/perldl.conf" |
98 |
+ fi |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
@@ -65,17 +70,17 @@ |
103 |
PERLVERSION=${version} |
104 |
eval `perl '-V:archname'` |
105 |
ARCHVERSION=${archname} |
106 |
- mv ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ |
107 |
- ${D}/usr/share/doc/${PF}/html |
108 |
+ mv "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ |
109 |
+ "${D}"/usr/share/doc/${PF}/html |
110 |
|
111 |
mydir=${D}/usr/share/doc/${PF}/html/PDL |
112 |
|
113 |
- for i in ${mydir}/* ${mydir}/IO/* ${mydir}/Fit/* ${mydir}/Pod/* ${mydir}/Graphics/* |
114 |
+ for i in "${mydir}"/* "${mydir}"/IO/* "${mydir}"/Fit/* "${mydir}"/Pod/* "${mydir}"/Graphics/* |
115 |
do |
116 |
- dosed ${i/${D}} |
117 |
+ dosed "${i/${D}}" |
118 |
done |
119 |
- cp ${S}/Doc/scantree.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
120 |
- cp ${S}/Doc/mkhtmldoc.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
121 |
+ cp "${S}"/Doc/scantree.pl "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
122 |
+ cp "${S}"/Doc/mkhtmldoc.pl "${D}"/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ |
123 |
} |
124 |
|
125 |
pkg_postinst() { |