Subject: CVS commit: pkgsrc
From: Johnny C. Lam
Date: 2005-01-12 16:32:01
Message id: 20050112153201.DD7C42DA1D@cvs.netbsd.org

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.

Files:
RevisionActionfile
1.23modifypkgsrc/benchmarks/benchfft/Makefile
1.3modifypkgsrc/cad/tnt-mmtl/Makefile
1.20modifypkgsrc/devel/hdf/Makefile
1.21modifypkgsrc/devel/netcdf/Makefile
1.60modifypkgsrc/math/R/Makefile
1.12modifypkgsrc/math/algae/Makefile
1.20modifypkgsrc/math/blas/Makefile
1.8modifypkgsrc/math/dcdflib.f/Makefile
1.11modifypkgsrc/math/dfftpack/Makefile
1.11modifypkgsrc/math/eispack/Makefile
1.13modifypkgsrc/math/fftpack/Makefile
1.17modifypkgsrc/math/fftw/Makefile
1.9modifypkgsrc/math/fftw2/Makefile
1.34modifypkgsrc/math/grace/Makefile
1.19modifypkgsrc/math/lapack/Makefile
1.9modifypkgsrc/math/linpack/Makefile
1.10modifypkgsrc/math/minpack/Makefile
1.50modifypkgsrc/math/octave/Makefile
1.39modifypkgsrc/math/octave-current/Makefile
1.15modifypkgsrc/math/odepack/Makefile
1.12modifypkgsrc/math/quadpack/Makefile
1.59modifypkgsrc/math/scilab/Makefile
1.15modifypkgsrc/math/slatec/Makefile
1.20modifypkgsrc/math/xmgr/Makefile
1.11modifypkgsrc/misc/molden/Makefile
1.32modifypkgsrc/parallel/mpi-ch/Makefile
1.36modifypkgsrc/parallel/pvm3/Makefile