Re: [RFC] Removal of Fortran from the base system

From: Harti Brandt <hartmut.brandt_at_dlr.de>
Date: Mon, 29 May 2006 14:37:28 +0200 (CEST)
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
Received on Mon May 29 2006 - 10:37:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC