|
|
|
@ -26,17 +26,11 @@ fi |
|
|
|
|
|
|
|
set_confopt |
|
|
|
|
|
|
|
code_pc(){ |
|
|
|
coda_pc(){ |
|
|
|
export PATH="$PATH:/opt/coda/bin:/opt/coda/sbin" |
|
|
|
|
|
|
|
if [[ $xsrctar = *coda* ]] ; then |
|
|
|
yacc -d coda-src/asr/resolver_parser.y \ |
|
|
|
-o coda-src/asr/resolver_parser.c |
|
|
|
# we can not pass CC and CXX to make (and we do not need to) |
|
|
|
# since the coda Makefile.setup will not overwrite it with |
|
|
|
# the correct -fno-operator-names ... - Rene |
|
|
|
makeopt="all" |
|
|
|
makeinstopt="client-install server-install" |
|
|
|
var_append makeinstopt " " "client-install server-install" |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
@ -46,6 +40,6 @@ coda_pi(){ |
|
|
|
install_init coda-client $confdir/coda-client.init |
|
|
|
} |
|
|
|
|
|
|
|
hook_add preconf 3 code_pc |
|
|
|
hook_add preconf 3 coda_pc |
|
|
|
hook_add postinstall 3 coda_pi |
|
|
|
|