Browse Source

git: disable python support if python is not installed

user/chris/test/early-mdev
Alejandro Mery 14 years ago committed by Alejandro Mery
parent
commit
1959a8f8c3
  1. 10
      develop/git/git.conf

10
develop/git/git.conf

@ -12,10 +12,12 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
# disable git-gui if there is no tcl/tk support for x in tk:tcltk python; do
if ! pkginstalled tk; then if ! pkginstalled ${x%:*}; then
var_append extraconfopt ' ' "--without-tcltk" echo_warning "disabling ${x#*:} support"
fi var_append extraconfopt ' ' "--without-${x#*:}"
fi
done
var_append makeopt ' ' 'gitweb' var_append makeopt ' ' 'gitweb'

Loading…
Cancel
Save