Debian Codegraph @

contrib/iapbs/modules/CHARMM/patches/c29b2/install.patch

raw
1 --- install.com.orig 2003-02-10 14:06:55.000000000 -0800
2 +++ install.com 2005-06-11 12:20:45.000000000 -0700
3 @@ -90,6 +90,7 @@
4 set qgamess = 0
5 set qgamessuk = 0
6 set qcadpac = 0
7 +set apbs = 0
8 set scali = 0
9 set socket = 0
10 set f77 = 0
11 @@ -152,6 +153,7 @@
12 echo " Q replace QUANTUM with GAMESS."
13 echo " U replace QUANTUM with GAMESS-UK."
14 echo " C replace QUANTUM with CADPAC."
15 + echo " APBS compile with APBS support."
16 echo " S Uses TCP/IP SOCKET library for parallel."
17 echo " FULL For FULL featured version (default)."
18 echo " LITE For a version with reduced functional features."
19 @@ -196,6 +198,7 @@
20 if ( $opt == 'Q' ) set qgamess = 1
21 if ( $opt == 'U' ) set qgamessuk = 1
22 if ( $opt == 'C' ) set qcadpac = 1
23 + if ( $opt == 'APBS' ) set apbs = 1
24 if ( $opt == 'S' ) set socket = 1
25 if ( $opt == 'FULL' || $opt == 'full' ) set full = 1
26 if ( $opt == 'LITE' || $opt == 'lite' ) set full = 0
27 @@ -373,6 +376,18 @@
28 $chmbuild/Makefile_$chmhost > $chmbuild/Makefile_$$
29 /bin/mv $chmbuild/Makefile_$$ $chmbuild/Makefile_$chmhost
30 endif
31 +# setup for APBS
32 + if ( $apbs == 1 && $chm_host == gnu ) then
33 + setenv APBS Y
34 + if ( ! $?APBS_LIB || ! $?IAPBS_LIB || ! $?APBS_BLAS ) then
35 + echo "APBS_LIB, IAPBS_LIB and APBS_BLAS variables must be set!"
36 + exit
37 + endif
38 + endif
39 + if ( $apbs == 1 && $chm_host != gnu ) then
40 + echo "APBS build is supported on gnu platform only"
41 + exit
42 + endif
43 # Modify Makefile_template for GAMESSUK
44 if ( $qgamessuk == 1 ) then
45
46 @@ -1010,6 +1025,9 @@
47 if ( $full == 1 ) then
48 echo "ACE" >> $chmbuild/pref$$.dat
49 echo "ADUMB" >> $chmbuild/pref$$.dat
50 + if ( $apbs == 1 ) then
51 + echo "APBS" >> $chmbuild/pref$$.dat
52 + endif
53 echo "ASPENER" >> $chmbuild/pref$$.dat
54 echo "BANBA" >> $chmbuild/pref$$.dat
55 echo "BLOCK" >> $chmbuild/pref$$.dat