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 | 0f7cc71a7b499a65a0a2720cfedcaebd01e7477f (patch) | |
tree | c0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /math/xmgr | |
parent | 7e7aae39ad51418c1e0b31923c9cb2a081f000a9 (diff) | |
download | pkgsrc-0f7cc71a7b499a65a0a2720cfedcaebd01e7477f.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/xmgr')
-rw-r--r-- | math/xmgr/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/xmgr/Makefile b/math/xmgr/Makefile index a478d01da74..98e50c7254e 100644 --- a/math/xmgr/Makefile +++ b/math/xmgr/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.19 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2005/01/12 15:32:01 jlam Exp $ # FreeBSD Id: Makefile,v 1.13 1998/12/12 22:27:21 jseger Exp # DISTNAME= xmgr-4.1.2 -PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \ ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/old/ \ @@ -20,7 +20,7 @@ BUILD_DEPENDS= bison-[0-9]*:../../devel/bison USE_BUILDLINK3= YES USE_X11BASE= YES -USE_FORTRAN= YES +USE_LANGUAGES= fortran GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-acegr-home="${PREFIX}" |