summaryrefslogtreecommitdiff
path: root/math/odepack
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-12 15:31:58 +0000
committerjlam <jlam@pkgsrc.org>2005-01-12 15:31:58 +0000
commitb6b853727dc16c84fba65c5d610f333d83e309ff (patch)
treec0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /math/odepack
parent98d6a371a10bb43601330b19f60f71ceb54ac6d2 (diff)
downloadpkgsrc-b6b853727dc16c84fba65c5d610f333d83e309ff.tar.gz
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.
Diffstat (limited to 'math/odepack')
-rw-r--r--math/odepack/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/odepack/Makefile b/math/odepack/Makefile
index 11441664d5f..1ad6ed0fd1c 100644
--- a/math/odepack/Makefile
+++ b/math/odepack/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2004/10/03 00:12:57 tv Exp $
+# $NetBSD: Makefile,v 1.15 2005/01/12 15:32:01 jlam Exp $
DISTNAME= odepack-20001130
-PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -11,7 +11,7 @@ COMMENT= Systematized Collection of ODE Solvers
DEPENDS+= linpack>=20010427:../../math/linpack
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
-USE_FORTRAN= yes
+USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/odepack
pre-build: