aboutsummaryrefslogtreecommitdiff
path: root/math/superlu
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1999-05-09 16:53:50 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1999-05-09 16:53:50 +0000
commitb4059d0c6b380638615e7823ff18c82b66124552 (patch)
tree352c67c8b0e14e1364bc1a78b417dfda4703c04d /math/superlu
parent4442575d80d44f1173369f024a66d9866753b62b (diff)
downloadports-b4059d0c6b380638615e7823ff18c82b66124552.tar.gz
ports-b4059d0c6b380638615e7823ff18c82b66124552.zip
Notes
Diffstat (limited to 'math/superlu')
-rw-r--r--math/superlu/distinfo2
-rw-r--r--math/superlu/files/patch-aa125
-rw-r--r--math/superlu/pkg-plist2
3 files changed, 44 insertions, 85 deletions
diff --git a/math/superlu/distinfo b/math/superlu/distinfo
index 0c7fd6b91d3b..c342e8fb6a87 100644
--- a/math/superlu/distinfo
+++ b/math/superlu/distinfo
@@ -1 +1 @@
-MD5 (superlu_1.1.tar.gz) = be33fc4a4e256584b0ebcd2ea099007a
+MD5 (superlu_1.1.tar.gz) = 476515c112be637339617bc29aecade7
diff --git a/math/superlu/files/patch-aa b/math/superlu/files/patch-aa
index 23caa3113a54..ca6dfb50de76 100644
--- a/math/superlu/files/patch-aa
+++ b/math/superlu/files/patch-aa
@@ -1,84 +1,41 @@
-*** make.inc.orig Sat Nov 22 22:55:01 1997
---- make.inc Sat Nov 22 23:36:10 1997
-***************
-*** 14,33 ****
- #
- # The machine (platform) identifier to append to the library names
- #
-! PLAT = _rs6k
-
- #
- # The name of the libraries to be created/linked to
- #
- TMGLIB = tmglib$(PLAT).a
-! SUPERLULIB = superlu$(PLAT).a
-! #
-! # If you don't have ESSL, you can use the following blaslib instead:
-! # BLASLIB = -lblas -lxlf -lxlf90
-! # which may be slower than ESSL
-! #
-! BLASDEF = -DUSE_VENDOR_BLAS
-! BLASLIB = -lessl
-
- #
- # The archiver and the flag(s) to use when building archive (library)
---- 14,29 ----
- #
- # The machine (platform) identifier to append to the library names
- #
-! #PLAT =
-
- #
- # The name of the libraries to be created/linked to
- #
- TMGLIB = tmglib$(PLAT).a
-! SUPERLULIB = libsuperlu$(PLAT).a
-!
-! BLASDEF = -DUSE_VENDOR_BLAS
-! BLASLIB = $(PREFIX)/lib/libblas$(PLAT).a
-
- #
- # The archiver and the flag(s) to use when building archive (library)
-***************
-*** 36,53 ****
- ARCH = ar
- ARCHFLAGS = cr
- RANLIB = ranlib
-!
-! CC = xlc
- CFLAGS = -O3
-! LOADER = xlc
-! LOADOPTS = -bmaxdata:0x80000000
- #
- # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
- #
-! CDEFS = -DNoChange
- #
- # The directory in which Matlab is installed
- #
-! MATLAB = /usr/local/matlab
-
-
---- 32,53 ----
- ARCH = ar
- ARCHFLAGS = cr
- RANLIB = ranlib
-! #
-! # Compiler and optimization
-! #
-! CC = gcc
- CFLAGS = -O3
-! LOADER = gcc
-! LOADOPTS = -O3
-!
- #
- # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
- #
-! CDEFS = -DAdd_
- #
- # The directory in which Matlab is installed
- #
-! MATLAB = $(PREFIX)/matlab
-!
-
-
+--- make.inc.orig Fri Mar 27 07:58:12 1998
++++ make.inc Mon May 10 01:43:38 1999
+@@ -14,14 +14,14 @@
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+-PLAT = _solaris
++#PLAT =
+
+ #
+ # The name of the libraries to be created/linked to
+ #
+ TMGLIB = tmglib$(PLAT).a
+-SUPERLULIB = superlu$(PLAT).a
+-BLASLIB = ../blas$(PLAT).a
++SUPERLULIB = libsuperlu$(PLAT).a
++BLASLIB = $(PREFIX)/lib/libblas$(PLAT).a
+
+ #
+ # The archiver and the flag(s) to use when building archive (library)
+@@ -31,10 +31,10 @@
+ ARCHFLAGS = cr
+ RANLIB = ranlib
+
+-CC = cc
+-CFLAGS = -xO3 -xcg92
+-LOADER = cc
+-LOADOPTS = -xO3
++CC = gcc
++CFLAGS = -O3
++LOADER = gcc
++LOADOPTS = -O3
+
+ #
+ # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
+@@ -43,4 +43,4 @@
+ #
+ # The directory in which Matlab is installed
+ #
+-MATLAB = /usr/sww/matlab
++MATLAB = ${PREFIX}/matlab
diff --git a/math/superlu/pkg-plist b/math/superlu/pkg-plist
index dc8eccafa5a9..3d26da0c597d 100644
--- a/math/superlu/pkg-plist
+++ b/math/superlu/pkg-plist
@@ -1,3 +1,5 @@
lib/libsuperlu.a
share/doc/SuperLU/ug.ps
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@dirrm share/doc/SuperLU