From b6b853727dc16c84fba65c5d610f333d83e309ff Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 12 Jan 2005 15:31:58 +0000 Subject: 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. --- benchmarks/benchfft/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile index 84ea72b0ecd..87f314b4df5 100644 --- a/benchmarks/benchfft/Makefile +++ b/benchmarks/benchfft/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2004/11/01 15:07:51 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2005/01/12 15:31:58 jlam Exp $ DISTNAME= benchfft-2.0 PKGREVISION= 1 @@ -16,7 +16,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews GNU_CONFIGURE= yes USE_BUILDLINK3= yes USE_GNU_TOOLS+= make -USE_FORTRAN= yes +USE_LANGUAGES= fortran USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKDIR}/fftw-2.0.1/ltconfig -- cgit v1.2.3