summaryrefslogtreecommitdiff
path: root/science/vmd/files/patch-bin_vmd.csh
blob: a13d8716deb375c34f6a7fb37d2877e0b17c6d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- bin/vmd.csh.orig	2010-12-08 20:55:17.000000000 -0500
+++ bin/vmd.csh 2010-12-08 21:10:21.000000000 -0500
@@ -218,6 +218,11 @@
   # The standard options
   if (`uname -m` == "i386") then
     set ARCH=FREEBSD
+  else if (`uname -m` == "amd64") then
+    set ARCH=FREEBSDAMD64
+  else
+    echo "Error: unsupported FreeBSD version $MACHVER"
+    exit 1
   endif
   set VMD_WINTERM=xterm
   set VMD_WINOPTS='-sb -sl 1000 -e'