aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2013-08-13 13:07:35 +0800
committerbf <bf@FreeBSD.org>2013-08-13 13:07:35 +0800
commit26def336efc2bff0b3abc69449b4857d213cbf82 (patch)
tree404abb1764a8b88b1fbd7e607387dff7664c4dcb /math
parent62b894e966d315a8d7e8afc5ccc27fa312f13dd7 (diff)
downloadfreebsd-ports-gnome-26def336efc2bff0b3abc69449b4857d213cbf82.tar.gz
freebsd-ports-gnome-26def336efc2bff0b3abc69449b4857d213cbf82.tar.zst
freebsd-ports-gnome-26def336efc2bff0b3abc69449b4857d213cbf82.zip
Use the compiler to assemble the shared libraries, in order to avoid linking
problems PR: 177201 Submitted by: marino, thierry
Diffstat (limited to 'math')
-rw-r--r--math/metis-edf/files/patch-Lib_Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/metis-edf/files/patch-Lib_Makefile b/math/metis-edf/files/patch-Lib_Makefile
index 7729cd8e605a..c6dc857c8660 100644
--- a/math/metis-edf/files/patch-Lib_Makefile
+++ b/math/metis-edf/files/patch-Lib_Makefile
@@ -1,5 +1,5 @@
---- Lib/Makefile.orig 2008-12-03 11:08:03.000000000 +0100
-+++ Lib/Makefile 2010-05-16 16:33:40.000000000 +0200
+--- Lib/Makefile.orig 2008-12-03 05:08:03.000000000 -0500
++++ Lib/Makefile 2013-08-13 00:53:40.000000000 -0400
@@ -2,7 +2,7 @@
INCLUDES = -I.
@@ -13,7 +13,7 @@
../libmetis.a: $(OBJS)
$(AR) $@ $(OBJS)
-+ %%SHLIB%%$(LD) -Wl,-Bshareable -Wl,-o,../libmetis.so.1 -Wl,-x -Wl,-soname,libmetis.so.1 -Wl,--whole-archive ../libmetis.a -Wl,-no-whole-archive
++ %%SHLIB%%$(CC) -shared $(CFLAGS) $(LDFLAGS) -o ../libmetis.so.1 $(OBJS) -lm
+ %%SHLIB%%(cd .. && ln -sf libmetis.so.1 libmetis.so)
clean: