From 0f7cc71a7b499a65a0a2720cfedcaebd01e7477f 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. --- cad/tnt-mmtl/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cad/tnt-mmtl') diff --git a/cad/tnt-mmtl/Makefile b/cad/tnt-mmtl/Makefile index 1326e90be1d..ff900c806c3 100644 --- a/cad/tnt-mmtl/Makefile +++ b/cad/tnt-mmtl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/10/03 00:13:13 tv Exp $ +# $NetBSD: Makefile,v 1.3 2005/01/12 15:31:58 jlam Exp $ # DISTNAME= tnt-1.2.2 @@ -20,7 +20,6 @@ GNU_CONFIGURE= YES USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_LANGUAGES= c c++ fortran -USE_FORTRAN= YES post-patch: ${MV} ${WRKSRC}/tnt ${WRKSRC}/tnt-mmtl -- cgit v1.2.3