Files math/mumps.orig/.pkg-plist.swp and math/mumps/.pkg-plist.swp differ diff -urN math/mumps.orig/Makefile math/mumps/Makefile --- math/mumps.orig/Makefile 2013-01-27 21:19:15.000000000 +0100 +++ math/mumps/Makefile 2013-08-11 18:36:50.000000000 +0200 @@ -1,13 +1,8 @@ -# New ports collection makefile for: MUMPS -# Date created: 5 Mar 2006 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD: head/math/mumps/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= mumps -PORTVERSION= 4.8.4 -PORTREVISION= 2 +PORTVERSION= 4.10.0 CATEGORIES= math MASTER_SITES= http://mumps.enseeiht.fr/ \ http://graal.ens-lyon.fr/MUMPS/ \ @@ -18,6 +13,11 @@ MAINTAINER= bf@FreeBSD.org COMMENT= MUltifrontal Massively Parallel sparse direct Solver +LICENSE= Public_Domain +LICENSE_NAME= "Public Domain" +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + #----------------------------------------------------------------------- # WARNING: Non-serviceable parts inside, can break other ports @@ -35,6 +35,8 @@ USE_FORTRAN= yes +MAKE_JOBS_UNSAFE=yes + FORTRANLIBS= -lgfortran GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. @@ -85,12 +87,12 @@ PLIST_SUB+= WITH_LIBSEQ="@comment " .endif -post-patch: +pre-configure: .ifdef WITH_MPI - @${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.inc.generic \ + ${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.inc.generic \ ${WRKSRC}/Makefile.inc .else - @${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.inc.generic.SEQ \ + ${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.inc.generic.SEQ \ ${WRKSRC}/Makefile.inc .endif @@ -103,7 +105,6 @@ s+@FORTRANLIBS@+${FORTRANLIBS}+g; \ s+@PTHREAD_LIBS@+${PTHREAD_LIBS}+g; \ s+@BLAS_LIBS@+${BLAS_LIBS}+ ; \ - s+../PORD+${WRKSRC}/PORD+; \ s+@LOCALBASE@+${LOCALBASE}+g;' \ ${WRKSRC}/Makefile.inc .ifdef WITH_MPI diff -urN math/mumps.orig/distinfo math/mumps/distinfo --- math/mumps.orig/distinfo 2013-01-27 21:19:15.000000000 +0100 +++ math/mumps/distinfo 2013-08-11 17:27:16.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (MUMPS_4.8.4.tar.gz) = cda022a12ce632ae753dcffc06411b2569647fafa01db947cc6a280d465acb2d -SIZE (MUMPS_4.8.4.tar.gz) = 2007524 +SHA256 (MUMPS_4.10.0.tar.gz) = d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933 +SIZE (MUMPS_4.10.0.tar.gz) = 2481516 diff -urN math/mumps.orig/files/patch-Make.inc+Makefile.inc.generic math/mumps/files/patch-Make.inc+Makefile.inc.generic --- math/mumps.orig/files/patch-Make.inc+Makefile.inc.generic 2013-01-27 21:19:15.000000000 +0100 +++ math/mumps/files/patch-Make.inc+Makefile.inc.generic 2013-08-11 17:42:44.000000000 +0200 @@ -1,30 +1,33 @@ ---- Make.inc/Makefile.inc.generic.orig Fri Apr 14 08:00:50 2006 -+++ Make.inc/Makefile.inc.generic Fri May 26 10:28:02 2006 -@@ -39,20 +39,20 @@ - # Metis is now available as an internal ordering for MUMPS. - - --#LSCOTCHDIR = $(HOME)/JY/emilio/bin/generic -+#LSCOTCHDIR = @LOCALBASE@/lib - #LSCOTCH = -L$(LSCOTCHDIR) -lesmumps -lfax -lorder -lscotch -lsymbol -ldof -lgraph -lcommon -lm +--- Make.inc/Makefile.inc.generic.orig 2011-05-10 14:56:32.000000000 +0200 ++++ Make.inc/Makefile.inc.generic 2013-08-11 17:41:51.000000000 +0200 +@@ -39,7 +39,7 @@ + # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS. + # - LPORDDIR = ../PORD/lib/ - IPORD = -I../PORD/include/ +-#SCOTCHDIR = ${HOME}/scotch_5.1_esmumps ++#SCOTCHDIR = @LOCALBASE@ + #ISCOTCH = -I$(SCOTCHDIR)/include + # You have to choose one among the following two lines depending on + # the type of analysis you want to perform. If you want to perform only +@@ -55,7 +55,7 @@ + IPORD = -I$(topdir)/PORD/include/ LPORD = -L$(LPORDDIR) -lpord --#LMETISDIR = Directory containing Metis library -+LMETISDIR = @LOCALBASE@/lib - #IMETIS = # Metis doesn't need include files (Fortran interface avail.) - #LMETIS = -L$(LMETISDIR) -lmetis - - # Corresponding variables reused later - #ORDERINGS = -Dmetis -Dpord +-#LMETISDIR = /local/metis/ ++#LMETISDIR = @LOCALBASE@/lib + #IMETIS = # Should be provided if you use parmetis + + # You have to choose one among the following two lines depending on +@@ -70,7 +70,7 @@ + # The following variables will be used in the compilation process. + # Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively. + #ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis -ORDERINGSF = -Dpord +ORDERINGSF += -Dpord ORDERINGSC = $(ORDERINGSF) + LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) - IORDERINGS = $(IMETIS) $(IPORD) $(ISCOTCH) -@@ -66,11 +66,11 @@ +@@ -91,11 +91,11 @@ # RM : remove files RM = /bin/rm -f # CC : C compiler @@ -37,9 +40,9 @@ -FL = f90 +FL = @FC@ # AR : Archive object in a library - AR = ar vr - # RANLIB : generate index of an archive file -@@ -79,13 +79,13 @@ + # keep a space at the end if options have to be separated from lib name + AR = ar vr +@@ -105,13 +105,13 @@ #RANLIB = echo # SCALAP should define the SCALAPACK and BLACS libraries. @@ -56,7 +59,7 @@ # The parallel version is not concerned by the next two lines. # They are related to the sequential library provided by MUMPS, -@@ -95,10 +95,10 @@ +@@ -121,10 +121,10 @@ # DEFINE HERE YOUR BLAS LIBRARY @@ -69,7 +72,7 @@ # FORTRAN/C COMPATIBILITY: # Use: -@@ -111,11 +111,11 @@ +@@ -137,11 +137,11 @@ # leave empty if your Fortran compiler does not change the symbols. # diff -urN math/mumps.orig/files/patch-Make.inc+Makefile.inc.generic.SEQ math/mumps/files/patch-Make.inc+Makefile.inc.generic.SEQ --- math/mumps.orig/files/patch-Make.inc+Makefile.inc.generic.SEQ 2013-01-27 21:19:15.000000000 +0100 +++ math/mumps/files/patch-Make.inc+Makefile.inc.generic.SEQ 2013-08-11 18:13:30.000000000 +0200 @@ -1,30 +1,33 @@ ---- Make.inc/Makefile.inc.generic.SEQ.orig Fri Apr 14 08:00:50 2006 -+++ Make.inc/Makefile.inc.generic.SEQ Fri May 26 10:27:58 2006 -@@ -42,20 +42,20 @@ - # Metis is now available as an internal ordering for MUMPS. - - --#LSCOTCHDIR = $(HOME)/JY/emilio/bin/generic -+#LSCOTCHDIR = @LOCALBASE@/lib - #LSCOTCH = -L$(LSCOTCHDIR) -lesmumps -lfax -lorder -lscotch -lsymbol -ldof -lgraph -lcommon -lm +--- Make.inc/Makefile.inc.generic.SEQ.orig 2011-05-10 14:56:32.000000000 +0200 ++++ Make.inc/Makefile.inc.generic.SEQ 2013-08-11 18:13:02.000000000 +0200 +@@ -41,7 +41,7 @@ + # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS. + # - LPORDDIR = ../PORD/lib/ - IPORD = -I../PORD/include/ +-#SCOTCHDIR = ${HOME}/scotch_5.1_esmumps ++#SCOTCHDIR = @LOCALBASE@ + #ISCOTCH = -I$(SCOTCHDIR)/include + # You have to choose one among the following two lines depending on + # the type of analysis you want to perform. If you want to perform only +@@ -57,7 +57,7 @@ + IPORD = -I$(topdir)/PORD/include/ LPORD = -L$(LPORDDIR) -lpord --#LMETISDIR = Directory containing Metis library -+LMETISDIR = @LOCALBASE@/lib - #IMETIS = # Metis doesn't need include files (Fortran interface avail.) - #LMETIS = -L$(LMETISDIR) -lmetis - - # Corresponding variables reused later - #ORDERINGS = -Dmetis -Dpord +-#LMETISDIR = /local/metis/ ++#LMETISDIR = @LOCALBASE@/lib + #IMETIS = # Should be provided if you use parmetis + + # You have to choose one among the following two lines depending on +@@ -72,7 +72,7 @@ + # The following variables will be used in the compilation process. + # Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively. + #ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis -ORDERINGSF = -Dpord +ORDERINGSF += -Dpord ORDERINGSC = $(ORDERINGSF) + LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) - IORDERINGS = $(IMETIS) $(IPORD) $(ISCOTCH) -@@ -69,11 +69,11 @@ +@@ -95,11 +95,11 @@ # RM : remove files RM = /bin/rm -f # CC : C compiler @@ -37,9 +40,14 @@ -FL = f90 +FL = @FC@ # AR : Archive object in a library - AR = ar vr - # RANLIB : generate index of an archive file -@@ -89,10 +89,10 @@ + # keep a space at the end if options have to be separated from lib name + AR = ar vr +@@ -112,14 +112,14 @@ + # the sequential library provided by MUMPS, to use instead + # of ScaLAPACK and MPI. + INCSEQ = -I$(topdir)/libseq +-LIBSEQ = -Llibseq -lmpiseq ++LIBSEQ = -L$(topdir)/libseq -lmpiseq # DEFINE HERE YOUR BLAS LIBRARY @@ -52,7 +60,7 @@ # FORTRAN/C COMPATIBILITY: # Use: -@@ -105,12 +105,12 @@ +@@ -132,12 +132,12 @@ # leave empty if your Fortran compiler does not change the symbols. # diff -urN math/mumps.orig/files/patch-PORD_lib_Makefile math/mumps/files/patch-PORD_lib_Makefile --- math/mumps.orig/files/patch-PORD_lib_Makefile 1970-01-01 01:00:00.000000000 +0100 +++ math/mumps/files/patch-PORD_lib_Makefile 2013-08-11 18:32:11.000000000 +0200 @@ -0,0 +1,11 @@ +--- PORD/lib/Makefile.orig 2011-05-10 14:56:32.000000000 +0200 ++++ PORD/lib/Makefile 2013-08-11 18:31:47.000000000 +0200 +@@ -22,7 +22,7 @@ + $(CC) $(COPTIONS) -c $*.c $(OUTC)$*.o + + libpord$(LIBEXT):$(OBJS) +- $(AR)$@ $(OBJS) ++ $(AR) $@ $(OBJS) + $(RANLIB) $@ + + clean: diff -urN math/mumps.orig/files/patch-libseq_Makefile math/mumps/files/patch-libseq_Makefile --- math/mumps.orig/files/patch-libseq_Makefile 1970-01-01 01:00:00.000000000 +0100 +++ math/mumps/files/patch-libseq_Makefile 2013-08-11 18:06:00.000000000 +0200 @@ -0,0 +1,11 @@ +--- libseq/Makefile.orig 2011-05-10 14:56:39.000000000 +0200 ++++ libseq/Makefile 2013-08-11 18:05:34.000000000 +0200 +@@ -10,7 +10,7 @@ + libmpiseq: libmpiseq$(PLAT)$(LIBEXT) + + libmpiseq$(PLAT)$(LIBEXT): mpi.o mpic.o elapse.o +- $(AR)$@ mpi.o mpic.o elapse.o ++ $(AR) $@ mpi.o mpic.o elapse.o + $(RANLIB) $@ + .f.o: + $(FC) $(OPTF) -c $*.f $(OUTF)$*.o diff -urN math/mumps.orig/files/patch-src_Makefile math/mumps/files/patch-src_Makefile --- math/mumps.orig/files/patch-src_Makefile 1970-01-01 01:00:00.000000000 +0100 +++ math/mumps/files/patch-src_Makefile 2013-08-11 18:08:48.000000000 +0200 @@ -0,0 +1,16 @@ +--- src/Makefile.orig 2011-05-10 14:56:32.000000000 +0200 ++++ src/Makefile 2013-08-11 18:08:25.000000000 +0200 +@@ -53,11 +53,11 @@ + + + $(libdir)/libmumps_common$(PLAT)$(LIBEXT): $(OBJS_COMMON) +- $(AR)$@ $? ++ $(AR) $@ $? + $(RANLIB) $@ + + $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS) +- $(AR)$@ $? ++ $(AR) $@ $? + $(RANLIB) $@ + + $(ARITH)mumps_load.o: $(ARITH)mumps_comm_buffer.o \ diff -urN math/mumps.orig/pkg-descr math/mumps/pkg-descr --- math/mumps.orig/pkg-descr 2013-01-27 21:19:15.000000000 +0100 +++ math/mumps/pkg-descr 2013-08-11 17:32:42.000000000 +0200 @@ -13,4 +13,4 @@ - Partial factorization and Schur complement matrix. - Several orderings interfaced : AMD, AMF, PORD, METIS -WWW: http://graal.ens-lyon.fr/MUMPS/ +WWW: http://graal.ens-lyon.fr/MUMPS/