From 2f8d992377c78289531edd7802f73556d4b4aaa8 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/quadpack/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'math/quadpack') diff --git a/math/quadpack/Makefile b/math/quadpack/Makefile index a0a480f89fc..80e16d6309b 100644 --- a/math/quadpack/Makefile +++ b/math/quadpack/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2004/10/03 00:12:57 tv Exp $ +# $NetBSD: Makefile,v 1.12 2005/01/12 15:32:01 jlam Exp $ DISTNAME= quadpack-20001130 -PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -9,7 +9,7 @@ MAINTAINER= tech-pkg@NetBSD.org COMMENT= Fortran subroutines for the solution of definite univariate integrals NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL -USE_FORTRAN= YES +USE_LANGUAGES= fortran WRKSRC= ${WRKDIR}/quadpack pre-build: -- cgit v1.2.3