From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 29 21:20:13 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4881A37B401 for ; Thu, 29 May 2003 21:20:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D034443FB1 for ; Thu, 29 May 2003 21:20:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4U4KCUp091535 for ; Thu, 29 May 2003 21:20:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4U4KCnc091534; Thu, 29 May 2003 21:20:12 -0700 (PDT) Date: Thu, 29 May 2003 21:20:12 -0700 (PDT) Message-Id: <200305300420.h4U4KCnc091534@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Peter Johnson Subject: Re: ports/52796: devel/apr is compiled without threads support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Johnson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 04:20:13 -0000 The following reply was made to PR ports/52796; it has been noted by GNATS. From: Peter Johnson To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/52796: devel/apr is compiled without threads support Date: Fri, 30 May 2003 00:14:36 -0400 (EDT) In addition to adding --enable-threads to configure, the installed apr-config script needs to be patched to remove -lc_r from LIBS and add -pthread to LDFLAGS. If this is not done, linking of Subversion (and probably others) fail because -lc_r is ignored by libtool and -pthread is not specified, so libc is linked instead of libc_r (generating many undefined pthread_* symbol errors). -- Peter Johnson