Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2004 16:46:56 +0100 (CET)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62839: [maintainer update] unbreaking on 5.2 where -lc_r is needed to build
Message-ID:  <200402141546.i1EFkutT077144@wedge.madpilot.net>
Resent-Message-ID: <200402141550.i1EFoF69069079@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 07:50:15 PST 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402141546.i1EFkutT077144>