svn commit: r324649 - head/math/metis-edf/files

Brendan Fabeny bf at FreeBSD.org
Tue Aug 13 05:07:36 UTC 2013


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:


More information about the svn-ports-all mailing list