Browse Source

git: disable python support if python is not installed

user/chris/0.1.0/grsecurity
Alejandro Mery 14 years ago
parent
commit
021abd289f
  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