diff options
author | jlam <jlam> | 2005-01-12 15:31:58 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-01-12 15:31:58 +0000 |
commit | 2f8d992377c78289531edd7802f73556d4b4aaa8 (patch) | |
tree | c0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /math/dcdflib.f/Makefile | |
parent | b6ff3bf35e68128b278616f9df6f086031597474 (diff) | |
download | pkgsrc-2f8d992377c78289531edd7802f73556d4b4aaa8.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/dcdflib.f/Makefile')
-rw-r--r-- | math/dcdflib.f/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/dcdflib.f/Makefile b/math/dcdflib.f/Makefile index 41174753231..37aa94ada91 100644 --- a/math/dcdflib.f/Makefile +++ b/math/dcdflib.f/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/10/03 00:12:55 tv Exp $ +# $NetBSD: Makefile,v 1.8 2005/01/12 15:32:00 jlam Exp $ DISTNAME= dcdflib.f-1.1 PKGREVISION= 1 @@ -10,7 +10,7 @@ HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/ COMMENT= Library of Fortran Routines for Cumulative Distribution Functions WRKSRC= ${WRKDIR}/dcdflib.f/src -USE_FORTRAN= yes +USE_LANGUAGES= fortran post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dcdflib.f |