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