diff options
Diffstat (limited to 'math/mumps-edf/files/patch-PORD_lib_Makefile')
-rw-r--r-- | math/mumps-edf/files/patch-PORD_lib_Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/math/mumps-edf/files/patch-PORD_lib_Makefile b/math/mumps-edf/files/patch-PORD_lib_Makefile new file mode 100644 index 000000000000..b13ad0eea785 --- /dev/null +++ b/math/mumps-edf/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 + |