/[gentoo-x86]/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch
Gentoo

Contents of /dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 16 20:08:08 2012 UTC (11 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Version bump. Added many use flags, previously assumed automagic'ed. Respect user fortran compiler and flags. Added a port_rm to remove generated files. Added sci as maintainer and a long description. USe the newer PDL homepage

(Portage version: 2.1.10.63/cvs/Linux x86_64)

1 --- IO/HDF/Makefile.PL.orig 2012-06-16 18:43:24.000000000 +0100
2 +++ IO/HDF/Makefile.PL 2012-06-16 18:44:51.000000000 +0100
3 @@ -63,20 +63,20 @@
4 # Look for the libs:
5 foreach my $libdir ( @HDF_lib_locations )
6 {
7 - if (-e "$libdir/libdfalt.a" && !$found_df)
8 + if (-e "$libdir/libdfalt.$Config{so}" && !$found_df)
9 {
10 $found_df = 1;
11 $hdf_lib_path = $libdir;
12 $hdf_libs = '-lmfhdfalt -ldfalt';
13 - print "Found libdfalt.a at $libdir/libdfalt.a\n";
14 + print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n";
15 }
16
17 - if (-e "$libdir/libdf.a" && !$found_df)
18 + if (-e "$libdir/libdf.$Config{so}" && !$found_df)
19 {
20 $found_df = 1;
21 $hdf_lib_path = $libdir;
22 $hdf_libs = '-lmfhdf -ldf';
23 - print "Found libdf.a at $libdir/libdf.a\n";
24 + print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n";
25 }
26
27 # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't!
28 @@ -90,7 +90,7 @@
29
30 unless( defined( $hdf_lib_path ) )
31 {
32 - $msg .= "Cannot find hdf library, libdf.a.\n"
33 + $msg .= "Cannot find hdf library, libdf.$Config{so}.\n"
34 . "Please add the correct library path to Makefile.PL or install HDF\n";
35
36 }

  ViewVC Help
Powered by ViewVC 1.1.13