summaryrefslogtreecommitdiff
path: root/math/mumps4/files/patch-src_Makefile
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2019-08-27 03:27:32 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2019-08-27 03:27:32 +0000
commit79b70ea70b85b5efb4c6e35bb4f05c647a5ffd5e (patch)
treecc7a7030964f222da92ba311efeff290195a697a /math/mumps4/files/patch-src_Makefile
parentNew port: math/onnx: Open Neural Network eXchange (diff)
math/mumps4: modernize the port.
- Make the blas naming more conistent with blaslapack (this doesn't use lapack though). - Adopt more standard FFLAGs. - Turn Metis4 into an option (was broken). Approved by: thierry (mentor)
Notes
Notes: svn path=/head/; revision=509983
Diffstat (limited to 'math/mumps4/files/patch-src_Makefile')
-rw-r--r--math/mumps4/files/patch-src_Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/math/mumps4/files/patch-src_Makefile b/math/mumps4/files/patch-src_Makefile
index 035e47408c6a..cf8c0346d351 100644
--- a/math/mumps4/files/patch-src_Makefile
+++ b/math/mumps4/files/patch-src_Makefile
@@ -11,7 +11,7 @@
OBJS_COMMON = \
mumps_part9.o\
-@@ -53,13 +55,19 @@ OBJS = $(ARITH)mumps_part1.o\
+@@ -53,12 +55,18 @@ OBJS = $(ARITH)mumps_part1.o\
$(libdir)/libmumps_common$(PLAT)$(LIBEXT): $(OBJS_COMMON)
@@ -26,10 +26,9 @@
- $(AR)$@ $?
+ $(AR) $@ $?
$(RANLIB) $@
-
++
+$(libdir)/lib$(ARITH)mumps$(PLAT).so.@SOVER@: $(OBJS)
+ $(FC) -shared ${.ALLSRC} -Wl,-soname,lib$(ARITH)mumps$(PLAT).so.@SOVER@ -L$(libdir) -lmumps_common$(PLAT) $(LORDERINGS) $(LIBPAR) -lblas $(SCALAP) $(LIBOTHERS) -o $(libdir)/lib$(ARITH)mumps$(PLAT).so.@SOVER@ -Wl,-z,defs
-+
+
$(ARITH)mumps_load.o: $(ARITH)mumps_comm_buffer.o \
$(ARITH)mumps_struc_def.o
-