Bladeren bron

some more changes on Thomas's request

Christoph Schug 23 jaren geleden
bovenliggende
commit
0ee584a89b
1 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  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} \