From 97a132e0ec37c6f0d576ceab79cdbc10b16f3c21 Mon Sep 17 00:00:00 2001
From: Mikhail Teterin <mi@FreeBSD.org>
Date: Fri, 9 Jul 2004 23:03:49 +0000
Subject: Use ``$(CC) -shared'' insted of ld to create shared library. This
 allows to use non-default compilers, such as icc.

---
 devel/tcl-trf/files/patch-mkin | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'devel/tcl-trf')

diff --git a/devel/tcl-trf/files/patch-mkin b/devel/tcl-trf/files/patch-mkin
index 388d60c687b1..e0a0b9c3a187 100644
--- a/devel/tcl-trf/files/patch-mkin
+++ b/devel/tcl-trf/files/patch-mkin
@@ -1,5 +1,5 @@
 --- Makefile.in	Tue Aug 21 01:52:21 2001
-+++ Makefile.in	Fri Feb 15 15:02:35 2002
++++ Makefile.in	Fri Jul  9 18:59:24 2004
 @@ -34,5 +34,5 @@
  #========================================================================
  
@@ -35,8 +35,11 @@
 +Trf_LIB_FILE			=	libTrf2.so.1
  $(Trf_LIB_FILE)_OBJECTS		=	$(Trf_OBJECTS)
  
-@@ -301,8 +301,8 @@
- SHLIB_LD		= @SHLIB_LD@
+@@ -299,10 +299,10 @@
+ RANLIB			= @RANLIB@
+ SHLIB_CFLAGS		= @SHLIB_CFLAGS@
+-SHLIB_LD		= @SHLIB_LD@
++SHLIB_LD		= $(CC) -shared
  SHLIB_LDFLAGS		= @SHLIB_LDFLAGS@
 -SHLIB_LD_LIBS		= @SHLIB_LD_LIBS@
 +SHLIB_LD_LIBS		= @SHLIB_LD_LIBS@ -lmd -lbz2 -lz
-- 
cgit v1.2.3