From mad@madpilot.net  Sat Feb 14 07:47:04 2004
Return-Path: <mad@madpilot.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0AAFC16A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Feb 2004 07:47:00 -0800 (PST)
Received: from relay.dada.it (relay.dada.it [195.110.100.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6675F43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Feb 2004 07:46:59 -0800 (PST)
	(envelope-from mad@madpilot.net)
Received: from madpilot.net (195.110.100.3)
  by relay.dada.it with SMTP; 14 Feb 2004 16:46:57 +0100
Received: (qmail 4251 invoked from network); 14 Feb 2004 15:46:55 -0000
Received: from unknown (HELO madpilot.net) (195.110.114.197)
  by mail.dada.it with SMTP; 14 Feb 2004 15:46:55 -0000
Received: (qmail 77354 invoked from network); 14 Feb 2004 15:46:56 -0000
Received: from wedge.madpilot.net (192.168.13.11)
  by 0 with SMTP; 14 Feb 2004 15:46:56 -0000
Received: from wedge.madpilot.net (localhost.madpilot.net [127.0.0.1])
	by wedge.madpilot.net (8.12.10/8.12.10) with ESMTP id i1EFkuss077145
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Feb 2004 16:46:56 +0100 (CET)
	(envelope-from mad@wedge.madpilot.net)
Received: (from mad@localhost)
	by wedge.madpilot.net (8.12.10/8.12.10/Submit) id i1EFkutT077144;
	Sat, 14 Feb 2004 16:46:56 +0100 (CET)
	(envelope-from mad)
Message-Id: <200402141546.i1EFkutT077144@wedge.madpilot.net>
Date: Sat, 14 Feb 2004 16:46:56 +0100 (CET)
From: Guido Falsi <mad@madpilot.net>
Reply-To: Guido Falsi <mad@madpilot.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer update] unbreaking on 5.2 where -lc_r is needed to build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62839
>Category:       ports
>Synopsis:       [maintainer update] unbreaking on 5.2 where -lc_r is needed to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 07:50:15 PST 2004
>Closed-Date:    Sun Feb 15 02:32:29 PST 2004
>Last-Modified:  Sun Feb 15 02:32:29 PST 2004
>Originator:     Guido Falsi
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD wedge.madpilot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #8: Fri Feb 6 20:10:06 CET 2004 root@wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE i386

>Description:

Build was blocking bcause of undefined symbols on 5.2.1-RC(and -current around 5.2) due to the included libtool stripping out "-lc_r". fixed it.

>How-To-Repeat:
>Fix:

diff -ruN gnokii.old/Makefile gnokii/Makefile
--- gnokii.old/Makefile	Sat Feb 14 16:40:59 2004
+++ gnokii/Makefile	Sat Feb 14 16:42:08 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	gnokii
 PORTVERSION=	0.5.10
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	comms
 MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
diff -ruN gnokii.old/files/patch-config-ltmain.sh gnokii/files/patch-config-ltmain.sh
--- gnokii.old/files/patch-config-ltmain.sh	Thu Jan  1 01:00:00 1970
+++ gnokii/files/patch-config-ltmain.sh	Sat Feb 14 16:41:22 2004
@@ -0,0 +1,15 @@
+--- config/ltmain.sh.orig	Sat Feb 14 16:37:52 2004
++++ config/ltmain.sh	Sat Feb 14 16:39:37 2004
+@@ -1061,7 +1061,11 @@
+ 	  esac
+ 	 elif test "X$arg" = "X-lc_r"; then
+ 	  case $host in
+-	 *-*-openbsd* | *-*-freebsd*)
++#	 *-*-openbsd* | *-*-freebsd*)
++#	this situation is already managed by the ports tree for
++#	freebsd, so leave it as is(-lc_r is actually needed for machines
++#	built from freebsd-current source in a short life span :)
++	  *-*-openbsd*)
+ 	    # Do not include libc_r directly, use -pthread flag.
+ 	    continue
+ 	    ;;
>Release-Note:
>Audit-Trail:

From: Guido Falsi <mad@madpilot.net>
To: freebsd-gnats-submit@FreeBSD.org, mad@madpilot.net
Cc:  
Subject: Re: ports/62839: [maintainer update] unbreaking on 5.2 where -lc_r is needed to build
Date: Sat, 14 Feb 2004 16:56:21 +0100

 Forgot to mention, this patch simply adds files/patch-config-ltmain.sh
 
 Thanks!
 
 -- 
 Guido Falsi <mad@madpilot.net>
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Feb 15 02:32:20 PST 2004 
State-Changed-Why:  
Committed, thanks! 

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