diff options
Diffstat (limited to 'science/gamess/files/patch-comp')
-rw-r--r-- | science/gamess/files/patch-comp | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/science/gamess/files/patch-comp b/science/gamess/files/patch-comp index dcc1071907c3..226790fde116 100644 --- a/science/gamess/files/patch-comp +++ b/science/gamess/files/patch-comp @@ -1,11 +1,11 @@ ---- comp.orig Tue Nov 7 00:17:54 2006 -+++ comp Fri Mar 9 10:44:49 2007 -@@ -8,11 +8,11 @@ - # 1. Choose your machine, the legal values for TARGET are - # amd64,axp64,compaq-sc,cray-pvp,cray-t3e,cray-x1,cray-xd1,cray-xt3, - # fuji-pp32,fuji-pp64,hpux32,hpux64,ibm32,ibm64,ibm64-sp,ibm-bg, --# linux-ia64,linux-pc,mac32,macG5,necsx,sgi32,sgi64,sun32,sun64 -+# linux-ia64,linux-pc,mac32,macG5,necsx,sgi32,sgi64,sun32,sun64,freebsd-amd64,freebsd-i386 +--- comp.orig Wed Jul 11 05:00:07 2007 ++++ comp Thu Aug 2 11:09:35 2007 +@@ -9,11 +9,11 @@ + # axp64,compaq-sc,cray-pvp,cray-t3e,cray-x1,cray-xd1,cray-xt3, + # fuji-pp32,fuji-pp64,hpux32,hpux64,ibm32,ibm64,ibm64-sp,ibm-bg, + # linux32,linux64,linux-ia64,mac32,macG5,necsx, +-# sgi32,sgi64,sun32,sun64 ++# sgi32,sgi64,sun32,sun64,freebsd-amd64,freebsd-i386 # 2. Choose your GAMESS directory tree. # -set TARGET=ibm64 @@ -15,18 +15,17 @@ # # ---- and now the script begins... # -@@ -31,6 +31,9 @@ - # - set OK=false - if ($TARGET == amd64) set OK=true +@@ -49,6 +49,8 @@ + if ($TARGET == linux32) set OK=true + if ($TARGET == linux64) set OK=true + if ($TARGET == linux-ia64) set OK=true +if ($TARGET == freebsd-amd64) set OK=true +if ($TARGET == freebsd-i386) set OK=true -+if ($TARGET == sun64) set OK=true - if ($TARGET == axp64) set OK=true - if ($TARGET == compaq-sc) set OK=true - if ($TARGET == cray-pvp) set OK=true -@@ -115,6 +118,8 @@ - endif + if ($TARGET == mac32) set OK=true + if ($TARGET == macG5) set OK=true + if ($TARGET == necsx) set OK=true +@@ -108,6 +110,8 @@ + if ($TARGET == linux-ia64) set BLAS3=true if ($TARGET == mac32) set BLAS3=true if ($TARGET == macG5) set BLAS3=true +if ($TARGET == freebsd-i386) set BLAS3=true @@ -34,27 +33,27 @@ if ($TARGET == sgi32) set BLAS3=true if ($TARGET == sgi64) set BLAS3=true if (($TARGET == sun32) && (-e /opt/SUNWspro/lib/libsunperf.so)) set BLAS3=true -@@ -493,6 +498,19 @@ +@@ -491,6 +495,19 @@ if ($MODULE == iolib) setenv MACHIN '*UNX' - if ($MODULE == unport) setenv MACHIN '*F2C' + if ($MODULE == unport) setenv MACHIN '*INT' endif +if ($TARGET == freebsd-amd64) then + setenv MACHIN '*I64' + if ($MODULE == ddi) setenv MACHIN '*SOC' + if ($MODULE == iolib) setenv MACHIN '*UNX' -+ if ($MODULE == unport) setenv MACHIN '*AMD' ++ if ($MODULE == unport) setenv MACHIN '*L64' +endif +if ($TARGET == freebsd-i386) then + setenv MACHIN '*I32' + if ($MODULE == ddi) setenv MACHIN '*SOC' + if ($MODULE == iolib) setenv MACHIN '*UNX' -+ if ($MODULE == unport) setenv MACHIN '*F2C' ++ if ($MODULE == unport) setenv MACHIN '*L32' +endif + if (($TARGET == mac32) || ($TARGET == macG5)) then setenv MACHIN '*I32' if ($MODULE == ddi) setenv MACHIN '*SOC' -@@ -1630,6 +1648,236 @@ +@@ -1738,6 +1755,236 @@ #-- f77 -c $OPT -stackvar $MODULE.f #-- unset echo #--endif |