summaryrefslogtreecommitdiff
path: root/math/mumps/files/patch-PORD_lib_Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2019-03-10 17:35:09 +0000
committerThierry Thomas <thierry@FreeBSD.org>2019-03-10 17:35:09 +0000
commit652c6cc3951262eb12596904e3373b57d6afa41c (patch)
treefb2b5a7036684951c6caf596cc32a8258bfd844a /math/mumps/files/patch-PORD_lib_Makefile
parentMove math/mumps to math mumps4: (diff)
Move math/mumps-edf to math/mumps.
This port is for MUMPS 5.x. Reported by: pfg
Diffstat (limited to 'math/mumps/files/patch-PORD_lib_Makefile')
-rw-r--r--math/mumps/files/patch-PORD_lib_Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/math/mumps/files/patch-PORD_lib_Makefile b/math/mumps/files/patch-PORD_lib_Makefile
new file mode 100644
index 000000000000..b13ad0eea785
--- /dev/null
+++ b/math/mumps/files/patch-PORD_lib_Makefile
@@ -0,0 +1,23 @@
+--- PORD/lib/Makefile.orig 2017-08-08 07:32:58 UTC
++++ PORD/lib/Makefile
+@@ -22,12 +22,17 @@ OBJS = graph.o gbipart.o gbisect.o ddcre
+ # OUTC = -o
+
+ .c.o:
+- $(CC) $(COPTIONS) -c $*.c $(OUTC)$*.o
++ $(CC) $(COPTIONS) -c $*.c $(OUTC) $*.o
+
+-libpord$(LIBEXT):$(OBJS)
+- $(AR)$@ $(OBJS)
++all: libpord$(LIBEXT) libpord.so.@SOVER@
++
++libpord$(LIBEXT): $(OBJS)
++ $(AR) $@ $(OBJS)
+ $(RANLIB) $@
+
++libpord.so.@SOVER@: $(OBJS)
++ $(CC) -shared $(OBJS) -Wl,-soname,libpord$(PLAT).so.@SOVER@ -o libpord$(PLAT).so.@SOVER@
++
+ clean:
+ rm -f *.o
+