From owner-freebsd-ports@FreeBSD.ORG Thu Aug 18 23:59:05 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D22B16A41F for ; Thu, 18 Aug 2005 23:59:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA9C43D45 for ; Thu, 18 Aug 2005 23:59:04 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7INx4vf004432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Aug 2005 19:59:04 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7INx36P031782; Thu, 18 Aug 2005 19:59:03 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1F3AD51211; Thu, 18 Aug 2005 19:59:03 -0400 (EDT) Date: Thu, 18 Aug 2005 19:59:03 -0400 From: Kris Kennaway To: "Marc G. Fournier" Message-ID: <20050818235902.GA45806@xor.obsecurity.org> References: <20050818015325.W1002@ganymede.hub.org> <20050818134113.GA9585@xor.obsecurity.org> <20050818164437.W1002@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20050818164437.W1002@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: adding -lc_r to build for apache1/2 ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 23:59:05 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 18, 2005 at 04:47:17PM -0300, Marc G. Fournier wrote: > On Thu, 18 Aug 2005, Kris Kennaway wrote: >=20 > >On Thu, Aug 18, 2005 at 01:55:45AM -0300, Marc G. Fournier wrote: > >> > >>Is there something I can add to make.conf to have -lc_r built into vari= ous > >>applications (apache1/2, php, etc) by default? I've been burnt a few > >>times with not having it built that way, and would just like to save > >>myself the headache ... > > > >You might like to, but this is wrong and just blindly linking in > >libc_r won't solve your problems. Instead ask why your applications > >are not being compiled and built with thread support if that is what > >you want. >=20 > I want apache2 to be compiled with thread support, since the mod_python= =20 > I've built requires it, since the python that mod_python depends on is=20 > built with thread support ... its one of those 'cascading dependency'=20 > issues :( Same with trying to build php-domxml after you've build libxml= 2=20 > with threading enabled ... >=20 > there is no way that I'm aware of for something like apache2 to=20 > auto-detect that oen of its 'modules' needs thread support, unless someho= w=20 > the ports system is supposed to do this? WITH_THREADS=3D1 if you want to enable thread support in applications that support it. Kris --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDBSDGWry0BWjoQKURAns2AJ0YOUI4xdVT3t33eeJhcbaMKAL4bACcCzLk qqA11Hg6zALduj1cAsIvqjM= =QmyF -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--