1 | #!/opt/local/bin/zsh |
---|
2 | |
---|
3 | setopt X_Trace; |
---|
4 | |
---|
5 | if test "${USER}" = "root"; then |
---|
6 | if test ! -x "/opt/local/bin/gnat"; then |
---|
7 | port install gcc43 +macada |
---|
8 | |
---|
9 | gcc_select mp-gcc43 |
---|
10 | |
---|
11 | port destroot gcc43 +ada |
---|
12 | port deactivate gcc43 +macada |
---|
13 | port activate gcc43 +ada |
---|
14 | else |
---|
15 | gcc_select mp-gcc43 |
---|
16 | port install gcc43 +ada |
---|
17 | fi; |
---|
18 | |
---|
19 | port -f -k destroot gmp |
---|
20 | port -f -k destroot mpfr |
---|
21 | port -f -k destroot libiconv |
---|
22 | port -f -k destroot gcc43 +ada |
---|
23 | port mdmg gcc43 +ada |
---|
24 | else |
---|
25 | sudo ${0}; |
---|
26 | fi; |
---|
27 | |
---|
28 | # vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab : |
---|
29 | # vim: set textwidth=0 filetype=zsh foldmethod=marker nospell : |
---|