ports/math/mumps/files/patch-Makefile
Thierry Thomas 652c6cc395 Move math/mumps-edf to math/mumps.
This port is for MUMPS 5.x.

Reported by:	pfg
2019-03-10 17:35:09 +00:00

20 lines
682 B
Text

--- Makefile.orig 2017-08-08 07:32:58 UTC
+++ Makefile
@@ -54,7 +54,7 @@ dexamples: d
multi_example: s d c z
(cd examples ; $(MAKE) multi)
-requiredobj: Makefile.inc $(LIBSEQNEEDED) $(libdir)/libpord$(PLAT)$(LIBEXT)
+requiredobj: Makefile.inc $(LIBSEQNEEDED) $(libdir)/libpord$(PLAT)$(LIBEXT) $(libdir)/libpord$(PLAT).so.@SOVER@
# dummy MPI library (sequential version)
@@ -68,7 +68,7 @@ $(libdir)/libpord$(PLAT)$(LIBEXT):
$(MAKE) CC="$(CC)" CFLAGS="$(OPTC)" AR="$(AR)" RANLIB="$(RANLIB)" OUTC="$(OUTC)" LIBEXT=$(LIBEXT); \
fi;
if [ "$(LPORDDIR)" != "" ] ; then \
- cp $(LPORDDIR)/libpord$(LIBEXT) $@; \
+ cp $(LPORDDIR)/libpord* $(libdir)/; \
fi;
clean: