Преглед на файлове

some more changes on Thomas's request

Christoph Schug преди 23 години
родител
ревизия
0ee584a89b
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      apache/apache.spec

+ 6 - 2
apache/apache.spec

@@ -185,13 +185,13 @@ BuildPreReq:  make, bison, flex
 BuildPreReq:  mysql
 %endif
 %if "%{with_mod_php_gd}" == "yes"
-BuildPreReq:  GD
+BuildPreReq:  GD, jpeg, png
 %endif
 %if "%{with_mod_php_db}" == "yes"
 BuildPreReq:  db
 %endif
 %if "%{with_mod_php_pdflib}" == "yes"
-BuildPreReq:  pdflib
+BuildPreReq:  pdflib, jpeg, png
 %endif
 %if "%{with_mod_php_zlib}" == "yes"
 BuildPreReq:  zlib
@@ -465,6 +465,8 @@ AutoReqProv:  no
 %endif
 %if "%{with_mod_php_gd}" == "yes"
           --with-gd=%{l_prefix} \
+          --with-jpeg-dir=%{l_prefix} \
+          --with-png-dir=%{l_prefix} \
 %endif
 %if "%{with_mod_php_freetype}" == "yes"
           --enable-gd-imgstrttf \
@@ -487,6 +489,8 @@ AutoReqProv:  no
 %endif
 %if "%{with_mod_php_pdflib}" == "yes"
           --with-pdflib=%{l_prefix} \
+          --with-jpeg-dir=%{l_prefix} \
+          --with-png-dir=%{l_prefix} \
 %endif
 %if "%{with_mod_php_openssl}" == "yes" || "%{with_mod_php_openldap}" == "yes"
           --with-openssl=%{l_prefix} \