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. --- math/R/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'math/R') diff --git a/math/R/Makefile b/math/R/Makefile index b8fbefd57e4..7e138423f49 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.59 2004/11/18 12:31:29 markd Exp $ +# $NetBSD: Makefile,v 1.60 2005/01/12 15:32:00 jlam Exp $ DISTNAME= R-2.0.1 CATEGORIES= math @@ -51,7 +51,6 @@ CONFIGURE_ENV+= ac_cv_lib_blas_dgemm_=yes # Pass the Fortran compiler to the configure script in case it's overridden # by the package builder. # -USE_FORTRAN= # defined USE_LANGUAGES= c fortran # Package assumes it can append to files (specifically DESCRIPTION) that have -- cgit v1.2.3