From owner-freebsd-ports@FreeBSD.ORG Sun Jan 3 08:54:38 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B65F106566B for ; Sun, 3 Jan 2010 08:54:38 +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 53D198FC1C for ; Sun, 3 Jan 2010 08:54:38 +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 1NRMEP-0004je-Cy for ports@freebsd.org; Sun, 03 Jan 2010 02:54:37 -0600 Received: from viper.internal.network (localhost [127.0.0.1]) by viper.internal.network (Postfix) with ESMTP id E8CC84AC04 for ; Sun, 3 Jan 2010 08:54:33 +0000 (UTC) Received: (from m0@localhost) by viper.internal.network (8.14.3/8.14.3/Submit) id o038sXl5007584 for ports@freebsd.org; Sun, 3 Jan 2010 08:54:33 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: Sun, 3 Jan 2010 08:54:33 +0000 From: freebsd-ports@coreland.ath.cx To: ports@freebsd.org Message-ID: <20100103085433.GA81202@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: Subject: 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: Sun, 03 Jan 2010 08:54:38 -0000 Whilst attempting to compile a program I wrote, it suddenly occurred to me that using anything in the Ada.Numerics package causes the compiler to emit code that depends on the math/lapack port (the stuff in the GNAT runtime is basically just a binding to lapack). This creates a further problem as installing the math/lapack port requires a Fortran compiler and that means one of the other GCC ports will be compiled as a dependency... To clarify this confusing situation: The lang/gnat-gcc44 port needs to be able to compile one of it's own (sometimes) runtime dependencies. I'm happy to enable the C++ and gfortran backends in the lang/gnat-gcc44 port but I suspect it'll be necessary to update either math/lapack or bsd.gcc.mk in order to allow the lang/gnat-gcc44 port to compile math/lapack. I do regular builds on 7.2 i386/amd64 and 8.0 i386/amd64 with "ada,c,c++,fortran" so I'm confident there won't be any serious problems with the port itself. Perhaps somebody with a clue could tell me what the right way to handle this mess is. M