From owner-freebsd-ports Tue Jul 25 2:40: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A18A637BD17 for ; Tue, 25 Jul 2000 02:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA06462; Tue, 25 Jul 2000 02:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 25 Jul 2000 02:40:03 -0700 (PDT) Message-Id: <200007250940.CAA06462@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Jeremy Lea Subject: Re: ports/20157: libtool incorrectly adds -lc to threaded apps Reply-To: Jeremy Lea Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/20157; it has been noted by GNATS. From: Jeremy Lea To: krinsky@sleepycat.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/20157: libtool incorrectly adds -lc to threaded apps Date: Tue, 25 Jul 2000 02:32:22 -0700 Hi, On Mon, Jul 24, 2000 at 05:18:59PM -0400, krinsky@sleepycat.com wrote: > This may not be the cleanest, but it works and is what we are > planning to put in the ltmain.sh included with an upcoming release of > Berkeley DB: > > *** ltmain.sh.orig Thu Apr 29 09:30:37 1999 > --- ltmain.sh Mon Jul 24 17:13:07 2000 > *************** > *** 1762,1769 **** > --- 1762,1777 ---- > case "$host" in > *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) > # these systems don't actually have a c library (as such)! > ;; > + > + #### local change for FreeBSD: > + # The following case is added, since the linker's -pthread > + # option implicitly controls use of -lc or -lc_r. > + *freebsd2*|*freebsd3*|*freebsdelf3*|*freebsd4*) > + # defer to whether the user wants -lc, or -lc_r > + ;; > + > *) > # Add libc to deplibs on all other systems. > deplibs="$deplibs -lc" > ;; > Please explain how this differs from patch-ad line 66, other than not working for -current. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message