소스 검색

adjust to new IMAP world order

Ralf S. Engelschall 23 년 전
부모
커밋
dbe7a29e34
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  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} \