From swills@FreeBSD.org  Tue Oct  2 18:25:33 2012
Return-Path: <swills@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6B5D5106566B
	for <bug-followup@FreeBSD.org>; Tue,  2 Oct 2012 18:25:33 +0000 (UTC)
	(envelope-from swills@FreeBSD.org)
Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3])
	by mx1.freebsd.org (Postfix) with ESMTP id 27E8D8FC0C
	for <bug-followup@FreeBSD.org>; Tue,  2 Oct 2012 18:25:33 +0000 (UTC)
Received: from mouf.net (www@mouf [199.48.129.64])
	by mouf.net (8.14.5/8.14.5) with ESMTP id q92IJxDT062077
	for <bug-followup@FreeBSD.org>; Tue, 2 Oct 2012 14:20:05 -0400 (EDT)
	(envelope-from swills@FreeBSD.org)
Received: from 198.85.229.5
        (SquirrelMail authenticated user swills)
        by mouf.net with HTTP;
        Tue, 2 Oct 2012 14:20:05 -0400
Message-Id: <dc134cb2a81e0192e01d7a09734eef1d.squirrel@mouf.net>
Date: Tue, 2 Oct 2012 14:20:05 -0400
From: "Steve Wills" <swills@FreeBSD.org>
To: bug-followup@FreeBSD.org
Subject: Re: [PATCH] [exp-run] devel/libtool: avoid use of -nostdlib for linking

>Number:         172284
>Category:       ports
>Synopsis:       Re: [PATCH] [exp-run] devel/libtool: avoid use of -nostdlib for linking
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 02 18:30:10 UTC 2012
>Closed-Date:    Sat Oct 06 18:41:12 UTC 2012
>Last-Modified:  Sat Oct 06 18:41:12 UTC 2012
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 ------=_20121002142005_29636
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 Here's an updated patch.
 
 For the record, this PR was created as part of the solution to PR
 ports/172108.
 
 ------=_20121002142005_29636
 Content-Type: text/plain; name="libtool-patch2.txt"
 Content-Transfer-Encoding: 8bit
 Content-Disposition: attachment; filename="libtool-patch2.txt"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 305163)
 +++ Makefile	(working copy)
 @@ -7,6 +7,7 @@
  
  PORTNAME?=	libtool
  PORTVERSION=	2.4.2
 +PORTREVISION=	1
  CATEGORIES=	devel
  MASTER_SITES=	${MASTER_SITE_GNU}
  MASTER_SITE_SUBDIR=	libtool
 Index: files/patch-configure
 ===================================================================
 --- files/patch-configure	(revision 0)
 +++ files/patch-configure	(working copy)
 @@ -0,0 +1,11 @@
 +--- configure.orig	2012-10-02 14:10:09.037557072 -0400
 ++++ configure	2012-10-02 14:10:14.298555118 -0400
 +@@ -14333,6 +14333,8 @@
 +         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 +         # conventions
 +         ld_shlibs_CXX=yes
 ++        archive_cmds_CXX='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 ++        archive_expsym_cmds_CXX='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 +         ;;
 + 
 +       gnu*)
 
 Property changes on: files/patch-configure
 ___________________________________________________________________
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 Index: files/patch-libltdl-m4-libtool.m4
 ===================================================================
 --- files/patch-libltdl-m4-libtool.m4	(revision 0)
 +++ files/patch-libltdl-m4-libtool.m4	(working copy)
 @@ -0,0 +1,11 @@
 +--- libltdl/m4/libtool.m4.orig	2012-10-02 14:10:05.331555538 -0400
 ++++ libltdl/m4/libtool.m4	2012-10-02 14:10:18.320555713 -0400
 +@@ -6220,6 +6220,8 @@
 +         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 +         # conventions
 +         _LT_TAGVAR(ld_shlibs, $1)=yes
 ++        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 ++        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 +         ;;
 + 
 +       gnu*)
 
 Property changes on: files/patch-libltdl-m4-libtool.m4
 ___________________________________________________________________
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 ------=_20121002142005_29636--
 
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Oct 6 18:40:43 UTC 2012 
State-Changed-Why:  
Misfiled followup to ports/172275; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 6 18:40:43 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=172284 
>Unformatted:
