summaryrefslogtreecommitdiff
path: root/math/mumps4/files/patch-src_Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2019-03-10 17:23:27 +0000
committerThierry Thomas <thierry@FreeBSD.org>2019-03-10 17:23:27 +0000
commit0a4963a54520aacc4f2f4c460a0ae398ec35d9f8 (patch)
tree23313dbfe82c06f0433ce9d2a0472c678d684e2f /math/mumps4/files/patch-src_Makefile
parentmultimedia/x265: update to 3.0 (diff)
Move math/mumps to math mumps4:
- MUMPS 4 is the legacy version, kept for license reason; - math/mumps to be used for versions 5.x. Submitted by: pfg
Notes
Notes: svn path=/head/; revision=495303
Diffstat (limited to 'math/mumps4/files/patch-src_Makefile')
-rw-r--r--math/mumps4/files/patch-src_Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/math/mumps4/files/patch-src_Makefile b/math/mumps4/files/patch-src_Makefile
new file mode 100644
index 000000000000..035e47408c6a
--- /dev/null
+++ b/math/mumps4/files/patch-src_Makefile
@@ -0,0 +1,35 @@
+--- src/Makefile.orig 2011-05-10 12:56:32 UTC
++++ src/Makefile
+@@ -20,7 +20,9 @@ z:
+ include $(topdir)/Makefile.inc
+
+ mumps_lib: $(libdir)/libmumps_common$(PLAT)$(LIBEXT) \
+- $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT)
++ $(libdir)/libmumps_common$(PLAT).so.@SOVER@ \
++ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT) \
++ $(libdir)/lib$(ARITH)mumps$(PLAT).so.@SOVER@
+
+ OBJS_COMMON = \
+ mumps_part9.o\
+@@ -53,13 +55,19 @@ OBJS = $(ARITH)mumps_part1.o\
+
+
+ $(libdir)/libmumps_common$(PLAT)$(LIBEXT): $(OBJS_COMMON)
+- $(AR)$@ $?
++ $(AR) $@ $?
+ $(RANLIB) $@
+
++$(libdir)/libmumps_common$(PLAT).so.@SOVER@: $(OBJS_COMMON)
++ $(FC) -shared ${.ALLSRC} -Wl,-soname,libmumps_common$(PLAT).so.@SOVER@ -L$(libdir) $(LORDERINGS) $(LIBPAR) $(LIBOTHERS) -o $(libdir)/libmumps_common$(PLAT).so.@SOVER@ -Wl,-z,defs
++
+ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS)
+- $(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
+