From owner-freebsd-ports@FreeBSD.ORG Tue Feb 28 18:30:14 2006 Return-Path: X-Original-To: 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 7A90B16A42A; Tue, 28 Feb 2006 18:30:14 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22A6243D62; Tue, 28 Feb 2006 18:30:13 +0000 (GMT) (envelope-from mi+mxe@aldan.algebra.com) Received: from corbulon.video-collage.com ([151.204.231.237]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IVE00K40U1O1SZ2@vms044.mailsrvcs.net>; Tue, 28 Feb 2006 12:29:57 -0600 (CST) Received: from mteterin.us.murex.com (195-11.customer.cloud9.net [168.100.195.11]) by corbulon.video-collage.com (8.13.4/8.13.1) with ESMTP id k1SITlAE033999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Feb 2006 13:29:47 -0500 Received: from mteterin.us.murex.com (mteterin@localhost [127.0.0.1]) by mteterin.us.murex.com (8.13.4/8.13.4) with ESMTP id k1SITfop025017; Tue, 28 Feb 2006 13:29:41 -0500 Received: (from mteterin@localhost) by mteterin.us.murex.com (8.13.4/8.13.4/Submit) id k1SITf4G025016; Tue, 28 Feb 2006 13:29:41 -0500 Date: Tue, 28 Feb 2006 13:29:41 -0500 From: Mikhail Teterin To: ports@FreeBSD.org, gnome@FreeBSD.org Message-id: <1141151381.20664.19.camel@mteterin.us.murex.com> Organization: Virtual Estates, Inc. MIME-version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit X-Virus-Scanned: ClamAV devel-20050525/1305/Mon Feb 27 14:07:49 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 X-Authentication-warning: mteterin.us.murex.com: mteterin set sender to mi+mxe@aldan.algebra.com using -f Cc: Subject: While we discuss libtool (-fpic vs. -fPIC) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mi+mxe@aldan.algebra.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 18:30:14 -0000 While we discuss libtool, I have a request. As installed, libtool builds shared objects with just `-fPIC' on FreeBSD. The bsd.lib.mk is both smarter -- it uses the more efficient `-fpic' on all arches, but sparc64, and more accurate -- it appends the `-DPIC' to the CFLAGS. I'm yet to find the souse, that would make the libtool/autoconf/automake spaghetti palatable, but if anyone already knows this software, the change should be trivial. Yours, -mi