diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-12 15:31:58 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-12 15:31:58 +0000 |
commit | b6b853727dc16c84fba65c5d610f333d83e309ff (patch) | |
tree | c0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /devel/hdf | |
parent | 98d6a371a10bb43601330b19f60f71ceb54ac6d2 (diff) | |
download | pkgsrc-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 'devel/hdf')
-rw-r--r-- | devel/hdf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/hdf/Makefile b/devel/hdf/Makefile index 3e03bab127c..6a6c731fcc3 100644 --- a/devel/hdf/Makefile +++ b/devel/hdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/10/03 00:13:28 tv Exp $ +# $NetBSD: Makefile,v 1.20 2005/01/12 15:31:59 jlam Exp $ DISTNAME= HDF4.2r0 PKGNAME= hdf-4.2r0 @@ -10,7 +10,7 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://hdf.ncsa.uiuc.edu/hdf4.html COMMENT= NCSA Hierarchical Data Format -USE_FORTRAN= # defined +USE_LANGUAGES= fortran USE_BUILDLINK3= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-szlib |