Ver código fonte

require APR with support for threads where needed

Christoph Schug 18 anos atrás
pai
commit
2956223f3c
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      apache/apache.spec

+ 5 - 1
apache/apache.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Web
 License:      ASF
 Version:      2.2.4
-Release:      20070623
+Release:      20070625
 
 #   package options (generic)
 %option       with_mpm                  prefork
@@ -75,6 +75,10 @@ BuildPreReq:  OpenPKG, openpkg >= 20060823, perl, make
 PreReq:       OpenPKG, openpkg >= 20060823, perl
 BuildPreReq:  apr, pcre
 PreReq:       apr, pcre
+%if "%{with_mpm}" == "worker" || "%{with_mpm}" == "event" || "%{with_mod_memcache}" == "yes"
+BuildPreReq:  apr::with_threads = yes
+PreReq:       apr::with_threads = yes
+%endif
 %if "%{with_mod_ldap}" == "yes"
 BuildPreReq:  apr::with_ldap = yes
 PreReq:       apr::with_ldap = yes