From owner-freebsd-current@FreeBSD.ORG Mon Jun 4 08:48:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4137116A400; Mon, 4 Jun 2007 08:48:03 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 1F26F13C45B; Mon, 4 Jun 2007 08:48:03 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.05) with ESMTP id l548m2Aa030766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Jun 2007 01:48:02 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l548m1KY017442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 4 Jun 2007 01:48:02 -0700 Message-ID: <4663D1C1.2020705@u.washington.edu> Date: Mon, 04 Jun 2007 01:48:01 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Steve Kargl References: <200706032347.l53NlXU6055249@gw.catspoiler.org> <20070604010942.GA13434@troutmask.apl.washington.edu> In-Reply-To: <20070604010942.GA13434@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.6.4.12932 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: ports@freebsd.org, Don Lewis , current@freebsd.org Subject: Re: /usr/share/mk/sys.mk and FORTRAN on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 08:48:03 -0000 Steve Kargl wrote: > On Sun, Jun 03, 2007 at 04:47:33PM -0700, Don Lewis wrote: > >> I was taking a look at why math/lapack fails to build on -CURRENT and >> discovered that the port uses ${FC} to find the FORTRAN compiler. I >> then discovered that /usr/share/mk/sys.mk defines ${FC} as f77 (or >> fort77). I don't this is appropriate since f77 has been removed from >> -CURRENT. >> >> I don't know what the proper fix is, but I though I should point out the >> problem ... >> >> > > There are two bugs here. 1) FC should be removed. 2) The > various ports that use Fortran should use gfortran42 > installed with lang/gcc42. > > Not only that. f77 in gcc-4.2 has some bugs that are waiting to be worked out in 4.2.1, so that may be a part of the issue as well. -Garrett