From owner-freebsd-ports@FreeBSD.ORG Wed Mar 8 03:30:26 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 BDEBC16A420 for ; Wed, 8 Mar 2006 03:30:26 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32701.mail.mud.yahoo.com (web32701.mail.mud.yahoo.com [68.142.207.245]) by mx1.FreeBSD.org (Postfix) with SMTP id 4834643D45 for ; Wed, 8 Mar 2006 03:30:26 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 16577 invoked by uid 60001); 8 Mar 2006 03:30:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=CLWqPYNfBdHILFjjvwDDw77p6sah/wy4CWejCmGdfPjkKglaSBYYVRTqqU8dbLInGV23YuqynlkWAuY8Rf/U8OHNI32ucHC3+g0X3m1OrFfpNbc1UC2N3qnsw8heUq3T3Gmarh/uqc7AXR7TjifPJg45g9XXduHHpHhS0OQsOXM= ; Message-ID: <20060308033025.16575.qmail@web32701.mail.mud.yahoo.com> Received: from [200.118.66.85] by web32701.mail.mud.yahoo.com via HTTP; Wed, 08 Mar 2006 04:30:25 CET Date: Wed, 8 Mar 2006 04:30:25 +0100 (CET) From: To: Kris Kennaway , Marcel Moolenaar , ports@freebsd.org In-Reply-To: <20060307232240.GA15044@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: Re: amd64 and -fPIC X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 03:30:26 -0000 Thanks for the explanation Marcel ! Hmm...I'm actually glad that i386 with threads now has this problem too ;). --- Kris Kennaway ha scritto: ... > > > > Ok, is there a compromise? Someone mentioned installing both PDC and > > PIC versions under different names. > > Yes, that would be fine (libfoo.a and libfoo_pic.a are the usual > conventions). > I am actually a LOT lazier...in fact this would make a mess building calculix and tochnog (with the shared version of ATLAS). I want to be able to build with pic or without pic. Something like this in bsd.port.mk .ifdef WITH_PIC CFLAGS += -fPIC FFLAGS += -fPIC .endif So I just add WITH_PIC=yes to the ports that need it. cheers, Pedro. ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it