diff options
author | maho <maho@FreeBSD.org> | 2007-01-10 15:23:22 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-10 15:23:22 +0800 |
commit | 5bc36cf696565f5ae19973bf6de21a7e3897441b (patch) | |
tree | b7780585ec09f974f19e1cc4cd99432e1f27e9d5 /math | |
parent | b6c3eacf1b737b730f8316022a2a2ad9f69e28c3 (diff) | |
download | freebsd-ports-gnome-5bc36cf696565f5ae19973bf6de21a7e3897441b.tar.gz freebsd-ports-gnome-5bc36cf696565f5ae19973bf6de21a7e3897441b.tar.zst freebsd-ports-gnome-5bc36cf696565f5ae19973bf6de21a7e3897441b.zip |
* Migrate to gfortran.
* Bump port revision.
Diffstat (limited to 'math')
-rw-r--r-- | math/blacs/Makefile | 15 | ||||
-rw-r--r-- | math/blacs/files/Bmake.inc-mpich.diff | 11 |
2 files changed, 17 insertions, 9 deletions
diff --git a/math/blacs/Makefile b/math/blacs/Makefile index e64916419f10..568c9e324a94 100644 --- a/math/blacs/Makefile +++ b/math/blacs/Makefile @@ -7,7 +7,7 @@ PORTNAME= blacs PORTVERSION= 1.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= ftp://ftp.netlib.org/blacs/ DISTNAME= BLACS @@ -41,14 +41,11 @@ RUN_DEPENDS= ${LOCALBASE}/mpich2/bin/mpirun:${PORTSDIR}/net/mpich2 EXTRA_PATCHES+= ${FILESDIR}/Bmake.inc-mpich.diff .endif -pre-fetch: - @${ECHO} "If you want to use compiler other than f77," - @${ECHO} "plase set NO_GNUF77=yes" - -F77?= f77 -.if !defined(NO_GNUF77) -F77EXTRAFLAGS= -w -fno-globals -fugly-complex -.endif +WANT_FORTRAN=yes +USE_GCC=4.2+ +MAKE_ENV= "FC=${FC}" "F77=${F77}" +USE_GMAKE=yes +F77EXTRAFLAGS= #-w -fno-globals -fugly-complex DEBUG_LEVEL= 0 .if defined(WITH_OPTIMIZED_FLAGS) diff --git a/math/blacs/files/Bmake.inc-mpich.diff b/math/blacs/files/Bmake.inc-mpich.diff index 1b6f547a9a87..c4d362b8d6b0 100644 --- a/math/blacs/files/Bmake.inc-mpich.diff +++ b/math/blacs/files/Bmake.inc-mpich.diff @@ -62,3 +62,14 @@ # -------------------------------------------------------------------------- # The archiver and the flag(s) to use when building an archive (library). # Also the ranlib routine. If your system has no ranlib, set RANLIB = echo. +--- Bmake.inc~ Wed Jan 10 16:11:00 2007 ++++ Bmake.inc Wed Jan 10 16:18:08 2007 +@@ -93,7 +93,7 @@ + # setting for your platform, compile and run BLACS/INSTALL/xintface. + # Choices are: Add_, NoChange, UpCase, or f77IsF2C. + # --------------------------------------------------------------------------- +- INTFACE = -Df77IsF2C ++ INTFACE = -DAdd_ + + # ------------------------------------------------------------------------ + # Allows the user to vary the topologies that the BLACS default topologies |