summaryrefslogtreecommitdiff
path: root/academic/arpack/arpack-2.1-redhat.patch
diff options
context:
space:
mode:
authorPablo Santamaria <pablosantamaria@gmail.com>2010-08-15 18:10:44 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-15 20:53:42 -0500
commita0fc082d0c68bc1d3edca468791e8f0d3fea3189 (patch)
tree87fc3b0374559bd81df25a9e106e6ae74b91583b /academic/arpack/arpack-2.1-redhat.patch
parent953379d3743a82aae6cc01b5f91ef8e786430f79 (diff)
downloadslackbuilds-a0fc082d0c68bc1d3edca468791e8f0d3fea3189.tar.gz
academic/arpack: Added (library for solving eigenvalue problems)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/arpack/arpack-2.1-redhat.patch')
-rw-r--r--academic/arpack/arpack-2.1-redhat.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/academic/arpack/arpack-2.1-redhat.patch b/academic/arpack/arpack-2.1-redhat.patch
new file mode 100644
index 0000000000..945d0157f5
--- /dev/null
+++ b/academic/arpack/arpack-2.1-redhat.patch
@@ -0,0 +1,45 @@
+--- ARPACK/ARmake.inc~ 1996-04-26 21:12:57.000000000 +0200
++++ ARPACK/ARmake.inc 2003-07-19 11:57:10.000000000 +0200
+@@ -25,7 +25,7 @@
+ # | other than your home directory. |
+ # %--------------------------------------%
+ #
+-home = $(HOME)/ARPACK
++home = $(PWD)/.
+ #
+ # %--------------------------------------%
+ # | The platform identifier to suffix to |
+@@ -43,7 +43,7 @@
+ UTILdir = $(home)/UTIL
+ SRCdir = $(home)/SRC
+ #
+-DIRS = $(BLASdir) $(LAPACKdir) $(UTILdir) $(SRCdir)
++#DIRS = $(BLASdir) $(LAPACKdir) $(UTILdir) $(SRCdir)
+ #
+ # %-------------------------------------------------------------------%
+ # | Comment out the previous line and uncomment the following |
+@@ -51,13 +51,13 @@
+ # | NOTE: ARPACK assumes the use of LAPACK version 2 codes. |
+ # %-------------------------------------------------------------------%
+ #
+-#DIRS = $(UTILdir) $(SRCdir)
++DIRS = $(UTILdir) $(SRCdir)
+ #
+ # %---------------------------------------------------%
+ # | The name of the libraries to be created/linked to |
+ # %---------------------------------------------------%
+ #
+-ARPACKLIB = $(home)/libarpack_$(PLAT).a
++ARPACKLIB = $(home)/libarpack.a
+ LAPACKLIB =
+ BLASLIB =
+ #
+@@ -112,7 +112,7 @@
+ LN = ln
+ LNFLAGS = -s
+
+-MAKE = /bin/make
++MAKE = make
+
+ RM = rm
+ RMFLAGS = -f