summaryrefslogtreecommitdiff
path: root/science/gamess/files/patch-lked
diff options
context:
space:
mode:
Diffstat (limited to 'science/gamess/files/patch-lked')
-rw-r--r--science/gamess/files/patch-lked59
1 files changed, 59 insertions, 0 deletions
diff --git a/science/gamess/files/patch-lked b/science/gamess/files/patch-lked
new file mode 100644
index 000000000000..d20fe27f579c
--- /dev/null
+++ b/science/gamess/files/patch-lked
@@ -0,0 +1,59 @@
+--- lked.orig Mon Nov 20 08:02:58 2006
++++ lked Thu Mar 8 17:24:22 2007
+@@ -11,11 +11,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-i386,freebsd-amd64
+ # 2. Choose your GAMESS directory tree.
+ #
+-set TARGET=ibm64
+-chdir /u1/mike/gamess
++set TARGET=%%ARCH%%
++#chdir /u1/mike/gamess
+ #
+ # ---- and now the script begins...
+ #
+@@ -442,6 +442,23 @@
+ # MacIntosh, clauses for using g77 or xlf.
+ # If Atlas was downloaded, it may be a little faster than Apple's.
+ #
++if ($TARGET == freebsd-i386) then
++ set LDR=%%FC%%
++ set LDOPTS=''
++ set LIBRARIES=''
++ set BLAS="-L%%PREFIX%%/lib %%BLAS%% %%LIBSVM%% %%LIBG2C%%"
++ set VECTOR=' '
++ set QUICHE='zunix.o'
++endif
++if ($TARGET == freebsd-amd64) then
++ set LDR=%%FC%%
++ set LDOPTS=''
++ set LIBRARIES=''
++ set BLAS="-L%%PREFIX%%/lib %%BLAS%%"
++ set VECTOR=' '
++ set QUICHE='zunix.o'
++endif
++
+ if ($TARGET == mac32) then
+ set LDR='g77'
+ set LDOPTS='-Wl,-multiply_defined -Wl,suppress' # add '-Wl,-M' for load map
+@@ -549,6 +566,8 @@
+ case hpux64:
+ case ibm32:
+ case ibm64:
++ case freebsd-amd64:
++ case freebsd-i386:
+ case linux-ia64:
+ case linux-pc:
+ case mac32:
+@@ -556,7 +575,7 @@
+ case sgi32:
+ case sun32:
+ case sun64:
+- set MSG_LIBRARIES='../ddi/libddi.a -lpthread'
++ set MSG_LIBRARIES='../ddi/libddi.a %%PTHREAD_LIBS%%'
+ # Solaris 2.6 needs -lposix4 instead of -lrt
+ if (($TARGET == sun32) || ($TARGET == sun64) || \
+ ($TARGET == fuji-pp32) || ($TARGET == fuji-pp64)) then