From owner-freebsd-ports@FreeBSD.ORG Fri Jan 8 11:08:03 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21553106568D for ; Fri, 8 Jan 2010 11:08:03 +0000 (UTC) (envelope-from freebsd-ports@coreland.ath.cx) Received: from birch.site5.com (birch.site5.com [174.132.116.226]) by mx1.freebsd.org (Postfix) with ESMTP id EC9CC8FC15 for ; Fri, 8 Jan 2010 11:08:02 +0000 (UTC) Received: from dsl78-143-195-33.in-addr.fast.co.uk ([78.143.195.33] helo=viper.internal.network) by birch.site5.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NTChG-0001Qv-1E; Fri, 08 Jan 2010 05:08:02 -0600 Received: from viper.internal.network (localhost [127.0.0.1]) by viper.internal.network (Postfix) with ESMTP id E1D174AC01; Fri, 8 Jan 2010 11:07:57 +0000 (UTC) Received: (from m0@localhost) by viper.internal.network (8.14.3/8.14.3/Submit) id o08B7uX0071308; Fri, 8 Jan 2010 11:07:56 GMT (envelope-from freebsd-ports@coreland.ath.cx) X-Authentication-Warning: viper.internal.network: m0 set sender to freebsd-ports@coreland.ath.cx using -f Date: Fri, 8 Jan 2010 11:07:56 +0000 From: freebsd-ports@coreland.ath.cx To: Gerald Pfeifer Message-ID: <20100108110756.GA99676@logik.internal.network> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - birch.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - coreland.ath.cx X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-ports@freebsd.org Subject: Re: GNAT and LAPACK 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: Fri, 08 Jan 2010 11:08:03 -0000 On 2010-01-08 00:09:57, Gerald Pfeifer wrote: > > I looked into the situation and think the following should work nicely > given the constraints of the FreeBSD Ports Collection in handling > dependencies and creating several packages from one build: > > 1. Make gnat-gcc44 dependent on gcc44 itself by means of USE_GCC=4.4. > 2. Have math/lapack as another dependency to gnat-gcc44. > 3. Build the minimum necessary as part of gnat-gcc44. Do not install > using `make install`, but copy the relevant files to $PREFIX/bin, > $PREFIX/lib,... manually. > > That way the Ports Collection as such will use gcc44 and you will add > the GNAT support from gnat-gcc44 (and only that) on top. I agree, this sounds much better. It's not clear to me, however, how to determine which parts of a given GNAT build are specific to GNAT so that I only install those. Any ideas? I'm currently looking at the output of pkg_info -Lx to try to make an educated guess... M