Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 14:37:28 +0200 (CEST)
From:      Harti Brandt <hartmut.brandt@dlr.de>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [RFC] Removal of Fortran from the base system
Message-ID:  <20060529143107.O86320@beagle.kn.op.dlr.de>
In-Reply-To: <20060527155903.GA7307@troutmask.apl.washington.edu>
References:  <20060527024407.GA2525@troutmask.apl.washington.edu> <4477C401.2080307@rogers.com> <38C8392F-C345-41F7-A879-6C2F5D2C59F5@orthanc.ca> <b1fa29170605262035u4ac8f3jc0a022f335903522@mail.gmail.com> <1B5AEAC9-2A87-40F1-B2D4-2069DCBC30FE@orthanc.ca> <4477EFDF.80608@alumni.rice.edu> <9f7850090605262331j352d98acwa3837251300c591b@mail.gmail.com> <4477F687.2030109@FreeBSD.org> <20060527065621.GA4814@troutmask.apl.washington.edu> <20060527095711.GJ744@turion.vk2pj.dyndns.org> <20060527155903.GA7307@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 May 2006, Steve Kargl wrote:

SK>On Sat, May 27, 2006 at 07:57:11PM +1000, Peter Jeremy wrote:
SK>> On Fri, 2006-May-26 23:56:21 -0700, Steve Kargl wrote:
SK>> >What happens with
SK>> >
SK>> >cd /usr/ports/math/lapack
SK>> >make install
SK>> 
SK>> .if ${OSVERSION} > 700XXX
SK>> BUILD_DEPENDS+=	gfortran:${PORTSDIR}/lang/gfortran
SK>> .endif
SK>> 
SK>
SK>Yes, I know.  Now, how many ports need this treatment?
SK>
SK>Do we cleanup the sys.mk file?  Grep for FC, f77, .f
SK>Do we add .F90, .f90, and .mod? 

The following are in Posix default rules and should not be removed if we 
aim to support Fortran. That means that either the port must add them or 
we just keep them, but set them up correctly for that port.

Macros:
FC
FFLAGS

Single suffix rules:
.f:

Double suffix rules:
.f.o:
.f.a:

If we want the F90, .f90 than they should be under !%POSIX.

harti



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060529143107.O86320>