summaryrefslogtreecommitdiffstats
path: root/academic/arpack/arpack-2.1-redhat.patch
diff options
context:
space:
mode:
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