* Migrate to gfortran.

* Bump port revision.
This commit is contained in:
Maho Nakata 2007-01-10 07:23:22 +00:00
parent ce56c53bec
commit 4dd38568f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181953
2 changed files with 17 additions and 9 deletions

View File

@ -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)

View File

@ -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