Package: pdl
Version: 2.4.3-4
Severity: normal
Tags: patch

Please use gfortran instead of g77, since the later will be deprecated in
Debian.  Also, please update the wiki page [1] when you are done.  Attached
below is a trivial debdiff.

[1] http://wiki.debian.org/GfortranTransition

-- 
Rafael Laboissiere
diff -u pdl-2.4.3/debian/changelog pdl-2.4.3/debian/changelog
--- pdl-2.4.3/debian/changelog
+++ pdl-2.4.3/debian/changelog
@@ -1,9 +1,3 @@
-pdl (1:2.4.3-4.1) UNRELEASED; urgency=low
-
-  * Switch from g77 to gfortran
-
- -- Rafael Laboissiere <[EMAIL PROTECTED]>  Fri, 29 Feb 2008 18:05:14 +0100
-
 pdl (1:2.4.3-4) unstable; urgency=low
 
   * clean up leftover files not caught by pdl's distclean target
reverted:
--- pdl-2.4.3/debian/f77conf.pl
+++ pdl-2.4.3.orig/debian/f77conf.pl
@@ -14,10 +14,10 @@
 }
 
 sub runtime {
+  my $libpath = `g77 -print-libgcc-file-name`;
-  my $libpath = `gfortran -print-libgcc-file-name`;
   $libpath =~ s/libgcc[.]a$//;
   chomp $libpath;
+  "-L$libpath -L/usr/lib -lg2c-pic";
-  "-L$libpath -L/usr/lib -lgcc";
 }
 
 sub trail_ {
@@ -25,7 +25,7 @@
 }
 
 sub compiler {
+  return 'g77';
-  return 'gfortran';
 }
 
 sub cflags {
reverted:
--- pdl-2.4.3/debian/control
+++ pdl-2.4.3.orig/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Henning Glawe <[EMAIL PROTECTED]>
 Standards-Version: 3.7.2
+Build-Depends: g77, xlibmesa-gl-dev, libglu1-xorg-dev | xlibmesa-glu-dev, 
x-dev, libncurses-dev, perl (>= 5.8.0-3), libextutils-f77-perl, debhelper (>= 
4.0.0), libplplot-dev, libinline-perl (>= 0.43), libgsl0-dev, fftw-dev, dpatch, 
libxext-dev, libhdf4g-dev, proj, libgd2-xpm-dev, libastro-fits-header-perl
-Build-Depends: gfortran, xlibmesa-gl-dev, libglu1-xorg-dev | xlibmesa-glu-dev, 
x-dev, libncurses-dev, perl (>= 5.8.0-3), debhelper (>= 4.0.0), libplplot-dev, 
libinline-perl (>= 0.43), libgsl0-dev, fftw-dev, dpatch, libxext-dev, 
libhdf4g-dev, proj, libgd2-xpm-dev, libastro-fits-header-perl
 
 Package: pdl
 Architecture: any

Reply via email to