summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2008-08-22 19:44:44 +0200
committerJaka Kranjc2008-08-28 23:44:37 +0200
commit0c7e88f603cdd2e4d9a7f40e09af95808aa38d33 (patch)
tree32073fba585b9bb0d2830607092264474b7bf63d
parent40a597b09a0e53cbf1dbe26a8e2aa7103bbbfa09 (diff)
subverison: sub dependency on apaches with DAV
(cherry picked from commit 7645bb915898fb507cfce5c3bd477ac254fb221f)
-rwxr-xr-xcollab/subversion/DEPENDS22
-rw-r--r--collab/subversion/HISTORY3
2 files changed, 24 insertions, 1 deletions
diff --git a/collab/subversion/DEPENDS b/collab/subversion/DEPENDS
index aee4567b18..615b62a327 100755
--- a/collab/subversion/DEPENDS
+++ b/collab/subversion/DEPENDS
@@ -27,4 +27,24 @@ optional_depends cyrus-sasl '--with-sasl' '--without-sasl' 'for Cyrus SASL authe
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
diff --git a/collab/subversion/HISTORY b/collab/subversion/HISTORY
index 65214c1914..4c4ede92a0 100644
--- a/collab/subversion/HISTORY
+++ b/collab/subversion/HISTORY
@@ -1,3 +1,6 @@
+2008-08-22 Thomas Orgis <sobukus@sourcemage.org>
+ * DEPENDS: sub dependency on some apache with DAV
+
2008-07-29 Julien "_kaze_" ROZO <julien@rozo.org>
* DETAILS: updated version to 1.5.1