瀏覽代碼

add optional support for POSIX functions

Christoph Schug 17 年之前
父節點
當前提交
6fbee72007
共有 2 個文件被更改,包括 10 次插入2 次删除
  1. 5 1
      apache-php/apache-php.spec
  2. 5 1
      php/php.spec

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

@@ -40,7 +40,7 @@ Class:        BASE
 Group:        Web
 License:      PHP
 Version:      %{V_php}
-Release:      20080325
+Release:      20080327
 
 #   package options
 %option       with_suhosin              no
@@ -76,6 +76,7 @@ Release:      20080325
 %option       with_pcre                 no
 %option       with_pear                 no
 %option       with_pgsql                no
+%option       with_posix                no
 %option       with_sendmail             no
 %option       with_session              no
 %option       with_simplexml            no
@@ -422,6 +423,9 @@ AutoReqProv:  no
 %else
         --without-pgsql \
 %endif
+%if "%{with_posix}" == "yes"
+        --enable-posix \
+%endif
 %if "%{with_gd}" == "yes"
         --with-gd=%{l_prefix} \
         --with-jpeg-dir=%{l_prefix} \

+ 5 - 1
php/php.spec

@@ -40,7 +40,7 @@ Class:        BASE
 Group:        Language
 License:      PHP
 Version:      %{V_php}
-Release:      20080325
+Release:      20080327
 
 #   package options
 %option       with_suhosin              no
@@ -76,6 +76,7 @@ Release:      20080325
 %option       with_pcre                 no
 %option       with_pear                 no
 %option       with_pgsql                no
+%option       with_posix                no
 %option       with_sendmail             no
 %option       with_session              no
 %option       with_simplexml            no
@@ -418,6 +419,9 @@ AutoReqProv:  no
 %else
         --without-pgsql \
 %endif
+%if "%{with_posix}" == "yes"
+        --enable-posix \
+%endif
 %if "%{with_gd}" == "yes"
         --with-gd=%{l_prefix} \
         --with-jpeg-dir=%{l_prefix} \