diff options
author | Vlad Glagolev | 2011-08-11 03:33:03 +0400 |
---|---|---|
committer | Vlad Glagolev | 2011-08-31 09:46:01 +0400 |
commit | 739e46fb7e3c2330f04e9cece2e9272586b8c3ad (patch) | |
tree | 4c0ac31f5692dbd129dafbdd5cf8e3d2b19932ea | |
parent | 684739d2d10a00a4fb0bf37f4e25e74c2704b3b3 (diff) |
apr-util: added LDAP subdependency
-rw-r--r-- | libs/apr-util/HISTORY | 3 | ||||
-rwxr-xr-x | libs/apr-util/PRE_SUB_DEPENDS | 5 | ||||
-rwxr-xr-x | libs/apr-util/REPAIR^all^PRE_SUB_DEPENDS | 5 | ||||
-rwxr-xr-x | libs/apr-util/SUB_DEPENDS | 6 |
4 files changed, 19 insertions, 0 deletions
diff --git a/libs/apr-util/HISTORY b/libs/apr-util/HISTORY index 1c0f808757..150cd320a9 100644 --- a/libs/apr-util/HISTORY +++ b/libs/apr-util/HISTORY @@ -1,3 +1,6 @@ +2011-08-11 Vlad Glagolev <stealth@sourcemage.org> + * {{REPAIR^all^,}PRE_,}SUB_DEPENDS: added LDAP subdependency + 2011-07-25 Bor Kraljič <pyrobor@ver.si> * DEPENDS: fixed dependency flags diff --git a/libs/apr-util/PRE_SUB_DEPENDS b/libs/apr-util/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..63b6487c26 --- /dev/null +++ b/libs/apr-util/PRE_SUB_DEPENDS @@ -0,0 +1,5 @@ +case $THIS_SUB_DEPENDS in + LDAP) is_depends_enabled $SPELL openldap;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" + return 1;; +esac diff --git a/libs/apr-util/REPAIR^all^PRE_SUB_DEPENDS b/libs/apr-util/REPAIR^all^PRE_SUB_DEPENDS new file mode 100755 index 0000000000..63b6487c26 --- /dev/null +++ b/libs/apr-util/REPAIR^all^PRE_SUB_DEPENDS @@ -0,0 +1,5 @@ +case $THIS_SUB_DEPENDS in + LDAP) is_depends_enabled $SPELL openldap;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" + return 1;; +esac diff --git a/libs/apr-util/SUB_DEPENDS b/libs/apr-util/SUB_DEPENDS new file mode 100755 index 0000000000..a7d61612f4 --- /dev/null +++ b/libs/apr-util/SUB_DEPENDS @@ -0,0 +1,6 @@ +case $THIS_SUB_DEPENDS in + LDAP) message "apr-util with OpenLDAP support requested, forcing openldap dependency" && + depends openldap "--with-ldap";; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" + return 1;; +esac |