Browse Source

provide with_ctype option for enabling the PHP 'ctype' extension

Ralf S. Engelschall 18 years ago
parent
commit
d97c1e31ae
2 changed files with 10 additions and 2 deletions
  1. 5 1
      apache-php/apache-php.spec
  2. 5 1
      php/php.spec

+ 5 - 1
apache-php/apache-php.spec

@@ -39,7 +39,7 @@ Class:        BASE
 Group:        Web
 License:      PHP
 Version:      %{V_php}
-Release:      20070724
+Release:      20070824
 
 #   package options
 %option       with_suhosin              no
@@ -48,6 +48,7 @@ Release:      20070724
 %option       with_bdb                  no
 %option       with_bzip2                no
 %option       with_calendar             no
+%option       with_ctype                no
 %option       with_curl                 no
 %option       with_debug                no
 %option       with_dom                  no
@@ -471,6 +472,9 @@ AutoReqProv:  no
 %if "%{with_mcrypt}" == "yes"
         --with-mcrypt=%{l_prefix} \
 %endif
+%if "%{with_ctype}" == "yes"
+        --enable-ctype \
+%endif
 %if "%{with_curl}" == "yes"
         --with-curl=%{l_prefix} \
 %endif

+ 5 - 1
php/php.spec

@@ -39,7 +39,7 @@ Class:        BASE
 Group:        Language
 License:      PHP
 Version:      %{V_php}
-Release:      20070724
+Release:      20070824
 
 #   package options
 %option       with_suhosin              no
@@ -48,6 +48,7 @@ Release:      20070724
 %option       with_bdb                  no
 %option       with_bzip2                no
 %option       with_calendar             no
+%option       with_ctype                no
 %option       with_curl                 no
 %option       with_debug                no
 %option       with_dom                  no
@@ -467,6 +468,9 @@ AutoReqProv:  no
 %if "%{with_mcrypt}" == "yes"
         --with-mcrypt=%{l_prefix} \
 %endif
+%if "%{with_ctype}" == "yes"
+        --enable-ctype \
+%endif
 %if "%{with_curl}" == "yes"
         --with-curl=%{l_prefix} \
 %endif