N.B.: french/aster is still marked BROKEN, but this allows to unbreak other ports sharing the same dependencies. Patch for french/med provided by tijl.
21 lines
484 B
Plaintext
21 lines
484 B
Plaintext
--- Lib/Makefile.orig 2012-10-02 18:12:21.000000000 +0200
|
|
+++ Lib/Makefile 2013-08-13 22:16:53.000000000 +0200
|
|
@@ -2,7 +2,7 @@
|
|
|
|
INCLUDES = -I.
|
|
|
|
-CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES)
|
|
+CFLAGS = $(COPTIONS) $(OPTFLAGS) $(INCLUDES) $(PICFLAG)
|
|
LD = $(CC) -L.
|
|
|
|
|
|
@@ -23,6 +23,8 @@
|
|
../libmetis.a: $(OBJS)
|
|
$(AR) $@ $(OBJS)
|
|
$(RANLIB) $@
|
|
+ $(CC) -shared $(CFLAGS) $(LDFLAGS) -o ../libmetis.so.0 $(OBJS) -lm
|
|
+ (cd .. && ln -sf libmetis.so.0 libmetis.so)
|
|
|
|
clean:
|
|
rm -f *.o
|