Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 01/12/2005 15:32:01
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Jan 12 15:32:01 UTC 2005

Modified Files:
	pkgsrc/benchmarks/benchfft: Makefile
	pkgsrc/cad/tnt-mmtl: Makefile
	pkgsrc/devel/hdf: Makefile
	pkgsrc/devel/netcdf: Makefile
	pkgsrc/doc: CHANGES
	pkgsrc/graphics/plplot: Makefile
	pkgsrc/math/R: Makefile
	pkgsrc/math/algae: Makefile
	pkgsrc/math/blas: Makefile
	pkgsrc/math/dcdflib.f: Makefile
	pkgsrc/math/dfftpack: Makefile
	pkgsrc/math/eispack: Makefile
	pkgsrc/math/fftpack: Makefile
	pkgsrc/math/fftw: Makefile
	pkgsrc/math/fftw2: Makefile
	pkgsrc/math/grace: Makefile
	pkgsrc/math/lapack: Makefile
	pkgsrc/math/linpack: Makefile
	pkgsrc/math/minpack: Makefile
	pkgsrc/math/octave: Makefile
	pkgsrc/math/octave-current: Makefile
	pkgsrc/math/odepack: Makefile
	pkgsrc/math/quadpack: Makefile
	pkgsrc/math/scilab: Makefile
	pkgsrc/math/slatec: Makefile
	pkgsrc/math/tela: Makefile
	pkgsrc/math/xmgr: Makefile
	pkgsrc/misc/molden: Makefile
	pkgsrc/mk: bsd.pkg.mk compiler.mk
	pkgsrc/mk/compiler: ccc.mk gcc.mk mipspro.mk sunpro.mk xlc.mk
	pkgsrc/parallel/mpi-ch: Makefile
	pkgsrc/parallel/pvm3: Makefile
Added Files:
	pkgsrc/mk/compiler: f2c.mk

Log Message:
Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 pkgsrc/benchmarks/benchfft/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/cad/tnt-mmtl/Makefile
cvs rdiff -r1.19 -r1.20 pkgsrc/devel/hdf/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/devel/netcdf/Makefile
cvs rdiff -r1.8717 -r1.8718 pkgsrc/doc/CHANGES
cvs rdiff -r1.38 -r1.39 pkgsrc/graphics/plplot/Makefile
cvs rdiff -r1.59 -r1.60 pkgsrc/math/R/Makefile
cvs rdiff -r1.11 -r1.12 pkgsrc/math/algae/Makefile
cvs rdiff -r1.19 -r1.20 pkgsrc/math/blas/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/math/dcdflib.f/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/math/dfftpack/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/math/eispack/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/math/fftpack/Makefile
cvs rdiff -r1.16 -r1.17 pkgsrc/math/fftw/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/math/fftw2/Makefile
cvs rdiff -r1.33 -r1.34 pkgsrc/math/grace/Makefile
cvs rdiff -r1.18 -r1.19 pkgsrc/math/lapack/Makefile
cvs rdiff -r1.8 -r1.9 pkgsrc/math/linpack/Makefile
cvs rdiff -r1.9 -r1.10 pkgsrc/math/minpack/Makefile
cvs rdiff -r1.49 -r1.50 pkgsrc/math/octave/Makefile
cvs rdiff -r1.38 -r1.39 pkgsrc/math/octave-current/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/math/odepack/Makefile
cvs rdiff -r1.11 -r1.12 pkgsrc/math/quadpack/Makefile
cvs rdiff -r1.58 -r1.59 pkgsrc/math/scilab/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/math/slatec/Makefile
cvs rdiff -r1.16 -r1.17 pkgsrc/math/tela/Makefile
cvs rdiff -r1.19 -r1.20 pkgsrc/math/xmgr/Makefile
cvs rdiff -r1.10 -r1.11 pkgsrc/misc/molden/Makefile
cvs rdiff -r1.1556 -r1.1557 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.42 -r1.43 pkgsrc/mk/compiler.mk
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/compiler/ccc.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/compiler/f2c.mk
cvs rdiff -r1.77 -r1.78 pkgsrc/mk/compiler/gcc.mk
cvs rdiff -r1.29 -r1.30 pkgsrc/mk/compiler/mipspro.mk
cvs rdiff -r1.25 -r1.26 pkgsrc/mk/compiler/sunpro.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/compiler/xlc.mk
cvs rdiff -r1.31 -r1.32 pkgsrc/parallel/mpi-ch/Makefile
cvs rdiff -r1.35 -r1.36 pkgsrc/parallel/pvm3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.