summaryrefslogtreecommitdiffstats
path: root/collab/subversion/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'collab/subversion/DEPENDS')
-rwxr-xr-xcollab/subversion/DEPENDS27
1 files changed, 25 insertions, 2 deletions
diff --git a/collab/subversion/DEPENDS b/collab/subversion/DEPENDS
index 56a0ea1e68..60a664207a 100755
--- a/collab/subversion/DEPENDS
+++ b/collab/subversion/DEPENDS
@@ -1,3 +1,4 @@
+depends sqlite &&
depends APR '--with-apr=/usr' &&
depends APU '--with-apr-util=/usr' &&
depends autoconf &&
@@ -20,11 +21,33 @@ then
if [[ "$SVN_RUBY" == y ]]; then depends ruby; fi
fi &&
-optional_depends zlib '--with-zlib' '--without-zlib' 'for stream compression support' &&
+optional_depends zlib '--with-zlib=/usr' '--without-zlib' 'for stream compression support' &&
optional_depends gettext '--enable-nls' '--disable-nls' 'for language translations' &&
optional_depends openssl '--with-ssl' '--without-ssl' 'for SSL/TLS support' &&
optional_depends cyrus-sasl '--with-sasl' '--without-sasl' 'for Cyrus SASL authentication' &&
+
+message ""WARNING, disabling neon is not recommended and may break downloading some svn spells."" &&
optional_depends neon '--with-neon=/usr' '--without-neon' 'for Subversion client to support DAV' &&
optional_depends db '--with-berkeley-db' '--without-berkeley-db' 'for Berkeley DB backend' &&
-optional_depends APACHE2 '--with-apxs' '--without-apxs' 'to create Apache 2 modules'
+optional_depends APACHE2 '--with-apxs' '--without-apxs' 'to create Apache 2 modules' &&
+local indian=$(get_spell_provider $SPELL APACHE2) &&
+if [[ -z "$indian" ]]; then
+:
+else
+ case "$indian" in
+ apache2)
+ sub_depends apache2 DAV
+ ;;
+ apache22)
+ sub_depends apache22 DAV
+ ;;
+ httpd-dev)
+ # nothing to do in this case, it builds all modules
+ ;;
+ *)
+ message "${MESSAGE_COLOR}Unknown provider for APACHE2, please update this spell!$DEFAULT_COLOR"
+ return -1
+ ;;
+ esac
+fi