summaryrefslogtreecommitdiff
path: root/math/scilab
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
commit0f7cc71a7b499a65a0a2720cfedcaebd01e7477f (patch)
treec0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /math/scilab
parent7e7aae39ad51418c1e0b31923c9cb2a081f000a9 (diff)
downloadpkgsrc-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/scilab')
-rw-r--r--math/scilab/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index dcb9db9fe85..6080d409fe5 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2004/12/24 17:21:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.59 2005/01/12 15:32:01 jlam Exp $
#
DISTNAME= ${SCIBASE}.src
@@ -19,7 +19,7 @@ NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
NetBSD-1.5.*-alpha NetBSD-1.5[A-U]-alpha
USE_BUILDLINK3= yes
-USE_FORTRAN= yes
+USE_LANGUAGES= fortran
USE_X11BASE= yes
USE_LIBTOOL= yes