public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-perl/PDL/files: PDL-2.4.11-shared-hdf.patch PDL-2.4.11-fortran.patch
@ 2012-06-16 20:08 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2012-06-16 20:08 UTC (permalink / raw
  To: gentoo-commits

bicatali    12/06/16 20:08:08

  Added:                PDL-2.4.11-shared-hdf.patch
                        PDL-2.4.11-fortran.patch
  Log:
  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)

Revision  Changes    Path
1.1                  dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch?rev=1.1&content-type=text/plain

Index: PDL-2.4.11-shared-hdf.patch
===================================================================
--- 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";
         
     }



1.1                  dev-perl/PDL/files/PDL-2.4.11-fortran.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/files/PDL-2.4.11-fortran.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/PDL/files/PDL-2.4.11-fortran.patch?rev=1.1&content-type=text/plain

Index: PDL-2.4.11-fortran.patch
===================================================================
--- 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;
  
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-16 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-16 20:08 [gentoo-commits] gentoo-x86 commit in dev-perl/PDL/files: PDL-2.4.11-shared-hdf.patch PDL-2.4.11-fortran.patch Sebastien Fabbro (bicatali)

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