diff options
Diffstat (limited to 'math/mumps/files/patch-Make.inc_Makefile.FREEBSD10.SEQ')
| -rw-r--r-- | math/mumps/files/patch-Make.inc_Makefile.FREEBSD10.SEQ | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/math/mumps/files/patch-Make.inc_Makefile.FREEBSD10.SEQ b/math/mumps/files/patch-Make.inc_Makefile.FREEBSD10.SEQ new file mode 100644 index 000000000000..a1ac8868dd67 --- /dev/null +++ b/math/mumps/files/patch-Make.inc_Makefile.FREEBSD10.SEQ @@ -0,0 +1,73 @@ +--- Make.inc/Makefile.FREEBSD10.SEQ.orig 2017-08-08 07:32:58 UTC ++++ Make.inc/Makefile.FREEBSD10.SEQ +@@ -20,7 +20,7 @@ + # + + #SCOTCHDIR = ${HOME}/scotch_6.0 +-#ISCOTCH = -I$(SCOTCHDIR)/include ++ISCOTCH = -I@LOCALBASE@/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 +@@ -36,8 +36,8 @@ LPORDDIR = $(topdir)/PORD/lib/ + IPORD = -I$(topdir)/PORD/include/ + LPORD = -L$(LPORDDIR) -lpord + +-#LMETISDIR = /opt/metis-5.1.0/build/Linux-x86_64/libmetis +-#IMETIS = /opt/metis-5.1.0/include ++LMETISDIR = @LOCALBASE@/lib ++IMETIS = @LOCALBASE@/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 +@@ -45,7 +45,7 @@ LPORD = -L$(LPORDDIR) -lpord + # variable below); for both parallel and sequential analysis choose the second + # line (remember to add -Dparmetis in the ORDERINGSF variable below) + +-#LMETIS = -L$(LMETISDIR) -lmetis ++LMETIS = -L$(LMETISDIR) -lmetis + #LMETIS = -L$(LMETISDIR) -lparmetis -lmetis + + # The following variables will be used in the compilation process. +@@ -66,14 +66,14 @@ IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOT + + PLAT = + LIBEXT = .a +-OUTC = -o "" +-OUTF = -o "" ++OUTC = -o ++OUTF = -o + RM = /bin/rm -f +-CC = cc +-FC = gfortran48 +-FL = gfortran48 ++CC = @CC@ ++FC = @FC@ ++FL = @FC@ + # keep a space at the end if options have to be separated from lib name +-AR = ar -vr "" ++AR = ar -vr + RANLIB = ranlib + LAPACK = -llapack + +@@ -81,16 +81,16 @@ LAPACK = -llapack + INCSEQ = -I$(topdir)/libseq + LIBSEQ = $(LAPACK) -L$(topdir)/libseq -lmpiseq + LIBBLAS = -lblas +-LIBOTHERS = -lpthread ++LIBOTHERS = -lpthread @GCCLIBDIR@ @FORTRANLIBS@ + + #Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER) +-CDEFS = -DAdd_ ++CDEFS ?= -DAdd_ + + #Begin Optimized options + # uncomment -fopenmp in lines below to benefit from OpenMP +-OPTF = -O #-fopenmp ++OPTF = @FCFLAGS@ #-fopenmp + OPTL = -O #-fopenmp +-OPTC = -O -I. #-fopenmp ++OPTC = @CFLAGS@ -I. #-fopenmp + #End Optimized options + INCS = $(INCSEQ) + LIBS = $(LIBSEQ) |
