]> git.pld-linux.org Git - packages/apr-util.git/commitdiff
- added without ldap bcond
authortrojan <trojan@pld-linux.org>
Wed, 17 Sep 2003 10:44:37 +0000 (10:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apr-util.spec -> 1.5

apr-util.spec

index fd2e05865279a530e53c17a13bc289117d761a75..f1d8ae33b30aab35457beb88f76884560426428e 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_without ldap
 %define snap   20030913101715
 Summary:       A companion library to Apache Portable Runtime
 Name:          apr-util
@@ -11,7 +12,7 @@ Source0:      http://cvs.apache.org/snapshots/apr-util/%{name}_%{snap}.tar.gz
 # Source0-md5: 00e26d0d77e1265c3bd45d11e9d8457d
 URL:           http://apr.apache.org/
 BuildRequires: apr-devel >= 1:0.9.4
-BuildRequires: openldap-devel
+%{?with_ldap:BuildRequires:    openldap-devel}
 BuildRequires: expat-devel
 BuildRequires: db-devel
 BuildRequires: gdbm-devel
@@ -48,8 +49,8 @@ Static apr-util library.
        --with-apr=%{_datadir}/apr
 %configure \
        --with-apr=%{_bindir}/apr-config \
-       --with-ldap-include=%{_prefix}/include \
-       --with-ldap-lib=%{_libdir} \
+%{?with_ldap:  --with-ldap-include=%{_prefix}/include} \
+%{?with_ldap:  --with-ldap-lib=%{_libdir}} \
        --with-iconv=%{_prefix}
 %{__make}
 
This page took 0.053274 seconds and 4 git commands to generate.