2017-06-08 10:50:26 +02:00
|
|
|
case $PATH in
|
|
|
|
*prefix/bin*)
|
|
|
|
true
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
PATH=prefix/bin:$PATH
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
case $MANPATH in
|
|
|
|
*prefix/share/man*)
|
|
|
|
true
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
MANPATH=prefix/share/man:$MANPATH
|
2017-07-13 17:51:59 +02:00
|
|
|
export MANPATH
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
case $LD_LIBRARY_PATH in
|
|
|
|
*libdir*)
|
|
|
|
true
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
if [ -z "$LD_LIBRARY_PATH" ]; then
|
|
|
|
LD_LIBRARY_PATH=libdir
|
|
|
|
else
|
|
|
|
LD_LIBRARY_PATH="libdir:$LD_LIBRARY_PATH"
|
|
|
|
fi
|
|
|
|
export LD_LIBRARY_PATH
|
2017-06-08 10:50:26 +02:00
|
|
|
esac
|