Przeglądaj źródła

adjust to new IMAP world order

Ralf S. Engelschall 23 lat temu
rodzic
commit
dbe7a29e34
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      apache/apache.spec

+ 7 - 3
apache/apache.spec

@@ -59,7 +59,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20030103
+Release:      20030107
 
 #   package options (additionally used Apache modules; can be enabled without thinking)
 %option       with_mod_ssl            no
@@ -216,7 +216,7 @@ BuildPreReq:  freetype
 BuildPreReq:  gettext, libiconv
 %endif
 %if "%{with_mod_php_imap}" == "yes"
-BuildPreReq:  c-client
+BuildPreReq:  imap
 %endif
 %if "%{with_mod_php_xml}" == "yes"
 BuildPreReq: expat
@@ -385,10 +385,13 @@ AutoReqProv:  no
       LIBS="$LIBS -lpng -lz"
 %endif
 %if "%{with_mod_php_gettext}" == "yes"
-      LIBS="$LIBS -liconv" \
+      LIBS="$LIBS -liconv"
 %endif
 %if "%{with_mod_php_openldap}" == "yes"
       LIBS="$LIBS -lsasl2"
+%endif
+%if "%{with_mod_php_imap}" == "yes"
+      LIBS="$LIBS -lssl -lcrypto"
 %endif
       ./configure \
           --prefix=%{l_prefix} \
@@ -456,6 +459,7 @@ AutoReqProv:  no
 %endif
 %if "%{with_mod_php_imap}" == "yes"
           --with-imap=%{l_prefix} \
+          --with-imap-ssl=%{l_prefix} \
 %endif
 %if "%{with_mod_php_xml}" == "yes"
           --with-xml=%{l_prefix} \