Package: scalapack
Severity: important
Tags: patch

Thanks for maintaining this package!

Here is a patch:

=============================================================================
diff -u scalapack-1.7/debian/control scalapack-1.7/debian/control
--- scalapack-1.7/debian/control
+++ scalapack-1.7/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Philipp Frauenfelder <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: mpich, lam4-dev, pvm-dev, blacs-mpich-dev, blacs-lam-dev, 
blacs-pvm-dev, g77, lapack-dev, blas-dev, f2c, debhelper
+Build-Depends: mpich, lam4-dev, pvm-dev, blacs-mpich-dev, blacs-lam-dev, 
blacs-pvm-dev, g77, lapack3-dev | liblapack-3.so, refblas3-dev | libblas-3.so, 
f2c, debhelper
 
 Package: scalapack1-mpich
 Architecture: any
diff -u scalapack-1.7/debian/rules scalapack-1.7/debian/rules
--- scalapack-1.7/debian/rules
+++ scalapack-1.7/debian/rules
@@ -42,7 +42,7 @@
          ar x ../$${i}_lam.a ;\
          cd .. ;\
          gcc -shared -Wl,-soname=lib$$i-lam.so.$(version_major) -o \
-           lib$$i-lam.so.$(version) tmp/*.o ;\
+           lib$$i-lam.so.$(version) tmp/*.o -lblas-3 -llapack-3 
-lblacsCinit-lam -lblacs-lam -llam -lg2c;\
          ln -snf lib$$i-lam.so.$(version) lib$$i-lam.so.$(version_major) ;\
          ln -snf lib$$i-lam.so.$(version_major) lib$$i-lam.so ;\
          rm tmp/* ;\
@@ -91,7 +91,7 @@
          ar x ../$${i}_mpich.a ;\
          cd .. ;\
          gcc -shared -Wl,-soname=lib$$i-mpich.so.$(version_major) -o \
-           lib$$i-mpich.so.$(version) tmp/*.o ;\
+           lib$$i-mpich.so.$(version) tmp/*.o -lblas-3 -llapack-3 
-lblacsCinit-mpich -lblacs-mpich -L /usr/lib/mpich/lib/shared -lmpich -lg2c;\
          ln -snf lib$$i-mpich.so.$(version) lib$$i-mpich.so.$(version_major) ;\
          ln -snf lib$$i-mpich.so.$(version_major) lib$$i-mpich.so ;\
          rm tmp/* ;\
@@ -134,7 +134,7 @@
          ar x ../$${i}_pvm.a ;\
          cd .. ;\
          gcc -shared -Wl,-soname=lib$$i-pvm.so.$(version_major) -o \
-           lib$$i-pvm.so.$(version) tmp/*.o ;\
+           lib$$i-pvm.so.$(version) tmp/*.o -lblas-3 -llapack-3 -lblacs-pvm 
-lpvm3 -lg2c;\
          ln -snf lib$$i-pvm.so.$(version) lib$$i-pvm.so.$(version_major) ;\
          ln -snf lib$$i-pvm.so.$(version_major) lib$$i-pvm.so ;\
          rm tmp/* ;\
=============================================================================

Take care,

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to