summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorjlam <jlam>2005-01-12 15:31:58 +0000
committerjlam <jlam>2005-01-12 15:31:58 +0000
commit2f8d992377c78289531edd7802f73556d4b4aaa8 (patch)
treec0c77d22dc6d7622e4196a9cf79e6fc77ed93ceb /parallel
parentb6ff3bf35e68128b278616f9df6f086031597474 (diff)
downloadpkgsrc-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 'parallel')
-rw-r--r--parallel/mpi-ch/Makefile6
-rw-r--r--parallel/pvm3/Makefile4
2 files changed, 5 insertions, 5 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index fa7e9b5ede6..737a348821d 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2004/12/03 15:15:07 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2005/01/12 15:32:01 jlam Exp $
DISTNAME= mpich-1.2.5.2
-PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= parallel
MASTER_SITES= ftp://ftp.mcs.anl.gov/pub/mpi/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} mpich-docs.tgz
@@ -20,7 +20,7 @@ INSTALL_TARGET= install-all
USE_PERL5= yes
HAS_CONFIGURE= yes
USE_X11= yes
-USE_FORTRAN= yes
+USE_LANGUAGES= fortran
MPI_RSH?= ssh
diff --git a/parallel/pvm3/Makefile b/parallel/pvm3/Makefile
index c2e7e0536c7..63457b7e23c 100644
--- a/parallel/pvm3/Makefile
+++ b/parallel/pvm3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2004/12/03 15:15:07 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2005/01/12 15:32:01 jlam Exp $
DISTNAME= pvm3.4.5
PKGNAME= pvm-3.4.5
@@ -19,7 +19,7 @@ PVM_SSH?= ${LOCALBASE}/bin/ssh
WRKSRC= ${WRKDIR}/pvm3
USE_BUILDLINK3= yes
-USE_FORTRAN= yes
+USE_LANGUAGES= fortran
USE_X11= yes
USE_LIBTOOL= yes