[RFC] Removal of Fortran from the base system

Harti Brandt hartmut.brandt at dlr.de
Mon May 29 05:37:40 PDT 2006


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


More information about the freebsd-current mailing list