From owner-freebsd-ports@FreeBSD.ORG Wed Apr 19 14:53:52 2006 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 CAAAB16A42B for ; Wed, 19 Apr 2006 14:53:52 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1C443D70 for ; Wed, 19 Apr 2006 14:53:18 +0000 (GMT) (envelope-from ler@lerctr.org) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; b=MLbrdAaJFpsMjl2wLEHERCNQqAAdmRFcLay81wELHuTDkguCWjLItKo/FpcVd3C/qCoe2X+HJAwGr01Im2PaiRfu2sGstBbRgmjbOWFM62wa9n7K7imNkv2R/F0K34YqWKkAp6+YDhOSm27KLkM7zUk5imtJW97E/5weJzonA6U=; Received: from 64-132-13-2.gen.twtelecom.net ([64.132.13.2]:45902 helo=LROSENMAC8010P) by thebighonker.lerctr.org with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FWE3L-000DJI-Az for freebsd-ports@freebsd.org; Wed, 19 Apr 2006 09:53:13 -0500 From: "Larry Rosenman" To: Date: Wed, 19 Apr 2006 09:52:38 -0500 Message-ID: <00f701c663c0$e71c73b0$0202fea9@aus.pervasive.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZjwObeL/KIVU62R4KLbytITzd6iQ== X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 X-LERCTR-Spam-Report: (-4.4 points, 5.0 required) ALL_TRUSTED=-1.8 BAYES_00=-2.599 DK_POLICY_SIGNALL=0.001 DomainKey-Status: no signature Subject: -fPIC for a port that is just a library on amd64? 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: Wed, 19 Apr 2006 14:53:53 -0000 What's the best way to get a port to add -fPIC to the compile for a port that generates just an archive library (textproc/libxdiff)? I was able to force the issue with CFLAGS=-fPIC make;CFLAGS=-fpic make install, but it would be nice if the port could do it automagically. The issue is that the pecl-xdiff extension uses this library and wants to be a shared object. Thanks, LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893