Date: Wed, 15 Dec 1999 12:07:09 -0800 (PST) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@freebsd.org Subject: ports/15501: Update port: math/superlu to 2.0 Message-ID: <19991215200709.318A3155FE@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 15501 >Category: ports >Synopsis: Update port: math/superlu to 2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 15 12:10:03 PST 1999 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 3.3-RELEASE i386 >Organization: >Environment: >Description: * Updated version 1.1 to 2.0 * Fixed MASTER_SITES * Modified patches to supppot CC/CFLAGS properly * Updated WWW: lne of pkg/DESCR * Fixed pkg/PLIST New file: patches/patch-ac >How-To-Repeat: >Fix: diff -urN /usr/ports/math/superlu/Makefile math/superlu/Makefile --- /usr/ports/math/superlu/Makefile Wed Aug 25 19:19:36 1999 +++ math/superlu/Makefile Thu Dec 16 03:56:18 1999 @@ -1,20 +1,19 @@ # New ports collection makefile for: SuperLU -# Version required: 1.1 -# Date created: 31 Oct 97 -# Whom: Pedro Giffuni <giffunip@asme.org> +# Version required: 2.0 +# Date created: 31 Oct 97 +# Whom: Pedro Giffuni <giffunip@asme.org> # # $FreeBSD: ports/math/superlu/Makefile,v 1.6 1999/08/25 07:16:08 obrien Exp $ # -DISTNAME= superlu_1.1 -PKGNAME= superlu-1.1 +DISTNAME= superlu_2.0 +PKGNAME= superlu-2.0 CATEGORIES= math -MASTER_SITES= ftp://ftp.cs.berkeley.edu/pub/lapack/SuperLU/ \ - ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/cs.berkeley.edu/lapack/SuperLU/ +MASTER_SITES= http://www.nersc.gov/~xiaoye/SuperLU/ MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= ${PREFIX}/lib/libblas.a:${PORTSDIR}/math/blas +BUILD_DEPENDS= ${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas WRKSRC= ${WRKDIR}/SuperLU ALL_TARGET= superlulib @@ -22,11 +21,12 @@ # NOTE: The Matlab interface was not built. # -post-install: - $(INSTALL_DATA) ${WRKSRC}/libsuperlu.* ${PREFIX}/lib - $(INSTALL_DATA) ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include +do-install: + ${INSTALL_DATA} ${WRKSRC}/libsuperlu.* ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/SRC/supermatrix.h ${PREFIX}/include .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/SuperLU + @${MKDIR} ${PREFIX}/share/doc/SuperLU ${INSTALL_DATA} ${WRKSRC}/INSTALL/*.ps ${PREFIX}/share/doc/SuperLU .endif + .include <bsd.port.mk> diff -urN /usr/ports/math/superlu/files/md5 math/superlu/files/md5 --- /usr/ports/math/superlu/files/md5 Mon May 10 07:50:21 1999 +++ math/superlu/files/md5 Thu Dec 16 03:17:00 1999 @@ -1 +1 @@ -MD5 (superlu_1.1.tar.gz) = 476515c112be637339617bc29aecade7 +MD5 (superlu_2.0.tar.gz) = 4a1b1a193bf409b76b663d94f9a2d64d diff -urN /usr/ports/math/superlu/patches/patch-aa math/superlu/patches/patch-aa --- /usr/ports/math/superlu/patches/patch-aa Mon May 10 07:50:23 1999 +++ math/superlu/patches/patch-aa Thu Dec 16 04:00:46 1999 @@ -1,6 +1,6 @@ ---- make.inc.orig Fri Mar 27 07:58:12 1998 -+++ make.inc Mon May 10 01:43:38 1999 -@@ -14,14 +14,14 @@ +--- make.inc.orig Fri Aug 6 15:10:24 1999 ++++ make.inc Thu Dec 16 04:00:37 1999 +@@ -16,14 +16,14 @@ # # The machine (platform) identifier to append to the library names # @@ -14,28 +14,31 @@ -SUPERLULIB = superlu$(PLAT).a -BLASLIB = ../blas$(PLAT).a +SUPERLULIB = libsuperlu$(PLAT).a -+BLASLIB = $(PREFIX)/lib/libblas$(PLAT).a ++BLASLIB = ${LOCALBASE}/lib/libblas$(PLAT).a # # The archiver and the flag(s) to use when building archive (library) -@@ -31,10 +31,10 @@ +@@ -33,12 +33,12 @@ ARCHFLAGS = cr RANLIB = ranlib --CC = cc --CFLAGS = -xO3 -xcg92 --LOADER = cc --LOADOPTS = -xO3 -+CC = gcc -+CFLAGS = -O3 -+LOADER = gcc -+LOADOPTS = -O3 +-CC = gcc ++CC ?= gcc + #CFLAGS = -xO3 -xcg92 +-CFLAGS = -Wall -O2 +-FORTRAN = f77 +-FFLAGS = -O +-LOADER = gcc ++CFLAGS ?= -Wall -O2 ++FORTRAN = ${FC} ++FFLAGS ?= -O ++LOADER = ${CC} + LOADOPTS = #-xO3 # - # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase) -@@ -43,4 +43,4 @@ +@@ -48,4 +48,4 @@ # # The directory in which Matlab is installed # -MATLAB = /usr/sww/matlab -+MATLAB = ${PREFIX}/matlab ++MATLAB = ${LOCALBASE}/matlab diff -urN /usr/ports/math/superlu/patches/patch-ab math/superlu/patches/patch-ab --- /usr/ports/math/superlu/patches/patch-ab Mon Aug 10 08:54:16 1998 +++ math/superlu/patches/patch-ab Thu Dec 16 03:32:37 1999 @@ -1,26 +1,14 @@ -*** SRC/util.h.orig Sat Nov 22 22:25:23 1997 ---- SRC/util.h Sat Nov 22 22:29:50 1997 +*** SRC/util.h.orig Fri Aug 6 04:21:40 1999 +--- SRC/util.h Thu Dec 16 03:32:32 1999 *************** -*** 2,10 **** - #define __SUPERLU_UTIL - +*** 4,10 **** +--- 4,12 ---- #include <stdio.h> #include <stdlib.h> -! #include <string.h> - #include <malloc.h> - #include <assert.h> - - /* Macros */ ---- 2,13 ---- - #define __SUPERLU_UTIL - - #include <stdio.h> -+ #ifdef __STDC__ - #include <stdlib.h> -! #else + #include <string.h> ++ #ifndef __STDC__ #include <malloc.h> + #endif -+ #include <string.h> #include <assert.h> /* Macros */ diff -urN /usr/ports/math/superlu/patches/patch-ac math/superlu/patches/patch-ac --- /usr/ports/math/superlu/patches/patch-ac Thu Jan 1 09:00:00 1970 +++ math/superlu/patches/patch-ac Thu Dec 16 03:29:42 1999 @@ -0,0 +1,14 @@ +*** SRC/sp_coletree.c.orig Fri Aug 6 05:31:22 1999 +--- SRC/sp_coletree.c Thu Dec 16 03:29:12 1999 +*************** +*** 2,8 **** +--- 2,10 ---- + /* Elimination tree computation and layout routines */ + + #include <stdio.h> ++ #ifndef __STDC__ + #include <malloc.h> ++ #endif + #include <stdlib.h> + #include "util.h" + diff -urN /usr/ports/math/superlu/pkg/DESCR math/superlu/pkg/DESCR --- /usr/ports/math/superlu/pkg/DESCR Mon May 3 19:38:45 1999 +++ math/superlu/pkg/DESCR Thu Dec 16 03:19:27 1999 @@ -1,6 +1,6 @@ - SuperLU Version 1.0 - =================== + SuperLU (Version 2.0) + ===================== SuperLU contains a set of subroutines to solve a sparse linear system A*X=B. It uses Gaussian elimination with partial pivoting (GEPP). @@ -19,7 +19,7 @@ =================== -WWW: http://www.cs.berkeley.edu/~xiaoye/superlu.html +WWW: http://www.nersc.gov/~xiaoye/SuperLU/ Authors: Jim Demmel demmel@cs.berkeley.edu John Gilbert gilbert@parc.xerox.com diff -urN /usr/ports/math/superlu/pkg/PLIST math/superlu/pkg/PLIST --- /usr/ports/math/superlu/pkg/PLIST Mon Jul 12 19:35:49 1999 +++ math/superlu/pkg/PLIST Thu Dec 16 03:34:43 1999 @@ -1,6 +1,4 @@ include/supermatrix.h 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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991215200709.318A3155FE>