ソースを参照

align with OCI8 hacks in Apache package

Ralf S. Engelschall 21 年 前
コミット
7190a28c43
1 ファイル変更10 行追加1 行削除
  1. 10 1
      php/php.spec

+ 10 - 1
php/php.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Language
 License:      PHP
 Version:      4.3.6
-Release:      20040425
+Release:      20040524
 
 #   package options
 %option       with_calendar      no
@@ -269,6 +269,14 @@ AutoReqProv:  no
 %if "%{with_oci7}" == "yes" || "%{with_oci8}" == "yes"
     ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
     export ORACLE_HOME
+    oracle_libdir="`%{l_prefix}/etc/rc --query oracle_libdir`"
+    case "$oracle_libdir" in
+        */lib32 )
+            %{l_shtool} subst \
+                -e 's;OCI8_DIR/lib;OCI8_DIR/lib32;' \
+                configure
+            ;;
+    esac
 %endif
     CC="%{l_cc}" \
     CFLAGS="$cflags" \
@@ -351,6 +359,7 @@ AutoReqProv:  no
 %endif
 %if "%{with_oci8}" == "yes"
         --with-oci8 \
+        --enable-sigchld \
 %endif
 %if "%{with_gettext}" == "yes"
         --with-gettext=%{l_prefix} \