Date: Tue, 13 Aug 2013 05:07:35 +0000 (UTC) From: Brendan Fabeny <bf@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324649 - head/math/metis-edf/files Message-ID: <201308130507.r7D57ZE4027753@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bf Date: Tue Aug 13 05:07:35 2013 New Revision: 324649 URL: http://svnweb.freebsd.org/changeset/ports/324649 Log: Use the compiler to assemble the shared libraries, in order to avoid linking problems PR: 177201 Submitted by: marino, thierry Modified: head/math/metis-edf/files/patch-Lib_Makefile (contents, props changed) Modified: head/math/metis-edf/files/patch-Lib_Makefile ============================================================================== --- head/math/metis-edf/files/patch-Lib_Makefile Tue Aug 13 04:25:49 2013 (r324648) +++ head/math/metis-edf/files/patch-Lib_Makefile Tue Aug 13 05:07:35 2013 (r324649) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308130507.r7D57ZE4027753>