diff options
-rw-r--r-- | math/vecfem/Makefile | 1 | ||||
-rw-r--r-- | math/vecfem/Makefile.inc | 4 | ||||
-rw-r--r-- | math/vecfem/distinfo | 2 | ||||
-rw-r--r-- | math/vecfem/files/patch-aa | 68 |
4 files changed, 31 insertions, 44 deletions
diff --git a/math/vecfem/Makefile b/math/vecfem/Makefile index 38dbfeb5e8bc..fd878d490184 100644 --- a/math/vecfem/Makefile +++ b/math/vecfem/Makefile @@ -7,6 +7,7 @@ PORTNAME= vecfem PORTVERSION= 3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.massey.ac.nz/~lgrosz/vecfem/downloads/ DISTNAME= vem diff --git a/math/vecfem/Makefile.inc b/math/vecfem/Makefile.inc index 07926caed184..ca98ca98a802 100644 --- a/math/vecfem/Makefile.inc +++ b/math/vecfem/Makefile.inc @@ -5,10 +5,10 @@ # .ifdef MPI -VECFEM_ARCH= ${OPSYS}_MPI +VECFEM_ARCH= FREEBSD_MPI LINUX= LINUX_MPI .else -VECFEM_ARCH= ${OPSYS} +VECFEM_ARCH= FREEBSD LINUX= LINUX .endif diff --git a/math/vecfem/distinfo b/math/vecfem/distinfo index b6aeeaf9b176..4303405d6329 100644 --- a/math/vecfem/distinfo +++ b/math/vecfem/distinfo @@ -1 +1 @@ -MD5 (vem.tar.gz) = 996039e5aaa6c2febeb20000d354c6c4 +MD5 (vem.tar.gz) = aac8b1e0be9003b8b04c37a989b4eb5c diff --git a/math/vecfem/files/patch-aa b/math/vecfem/files/patch-aa index ed495a716807..d4acdca252f8 100644 --- a/math/vecfem/files/patch-aa +++ b/math/vecfem/files/patch-aa @@ -1,41 +1,27 @@ -*** vemtool/vemfc.orig Thu Nov 9 21:23:30 2000 ---- vemtool/vemfc Thu Jan 18 14:57:21 2001 -*************** -*** 1,4 **** -! #!/bin/ksh - DATE="10/08/1998" - MYCOMMAND=$_ - #************************************************************************** ---- 1,4 ---- -! #!/bin/sh - DATE="10/08/1998" - MYCOMMAND=$_ - #************************************************************************** -*************** -*** 74,79 **** ---- 74,81 ---- - # - case $ARCH in - -+ FreeBSD) F77="f77 -O";; -+ FreeBSD_MPI) F77="/usr/local/mpich/bin/mpif77";; - LINUX) F77="g77 -O";; - LINUX_PG) F77="pgf77 -O -Munroll -Mnoframe -tp px -Minfo -Mvect=assoc,cachesize:128000 -Mcache_align";; - LINUX_MPI) F77="mpif77 -O";; -*************** -*** 114,120 **** - # set the paths of inlcude files and libraries: - # - case $ARCH in -! SunOS | SOLARIS | IRIX6N32 | IRIX6N64 | AP1000 | DECALPHA | LINUX | LINUX_MPI | SOLARISF90) - IFLAGS="-I"$VECFEM_ROOT"/include/"$VECFEM_ARCH ; - LFLAGS="-L"$VECFEM_ROOT"/"$VECFEM_ARCH ;; - IRIX5 ) ---- 116,122 ---- - # set the paths of inlcude files and libraries: - # - case $ARCH in -! FreeBSD | FreeBSD_MPI | SunOS | SOLARIS | IRIX6N32 | IRIX6N64 | AP1000 | DECALPHA | LINUX | LINUX_MPI | SOLARISF90) - IFLAGS="-I"$VECFEM_ROOT"/include/"$VECFEM_ARCH ; - LFLAGS="-L"$VECFEM_ROOT"/"$VECFEM_ARCH ;; - IRIX5 ) +--- vemtool/vemfc.orig Wed Jun 20 19:45:18 2001 ++++ vemtool/vemfc Sat Dec 15 16:48:36 2001 +@@ -1,4 +1,4 @@ +-#!/bin/ksh ++#!/bin/sh + DATE="10/08/1998" + MYCOMMAND=$_ + #************************************************************************** +@@ -106,7 +106,8 @@ + F77="f90";; + SOLARIS | SunOS) F77="f77 -O";; + SOLARISF90) F77="f90 -O3";; +- FREEBSD) F77= "f77 -O";; ++ FREEBSD) F77="f77 -O";; ++ FREEBSD_MPI) F77="/usr/local/mpich/bin/mpif77";; + + + *) echo "unknown architecture : $ARCH " >&2; exit 1;; +@@ -117,7 +118,7 @@ + # set the paths of inlcude files and libraries: + # + case $ARCH in +- SunOS | SOLARIS | IRIX6N32 | IRIX6N64 | AP1000 | DECALPHA | LINUX | LINUX_MPI | SOLARISF90 | FREEBSD ) ++ SunOS | SOLARIS | IRIX6N32 | IRIX6N64 | AP1000 | DECALPHA | LINUX | LINUX_MPI | SOLARISF90 | FREEBSD | FREEBSD_MPI ) + IFLAGS="-I"$VECFEM_ROOT"/include/"$VECFEM_ARCH ; + LFLAGS="-L"$VECFEM_ROOT"/"$VECFEM_ARCH ;; + IRIX5 ) |