OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 01-Apr-2004 16:30:55
Branch: HEAD Handle: 2004040115305400
Modified files:
openpkg-src/apache apache.spec
Log:
add support for Oracle under Linux and still support Oracle under
Solaris
Summary:
Revision Changes Path
1.218 +8 -3 openpkg-src/apache/apache.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.217 -r1.218 apache.spec
--- openpkg-src/apache/apache.spec 1 Apr 2004 13:35:51 -0000 1.217
+++ openpkg-src/apache/apache.spec 1 Apr 2004 14:30:54 -0000 1.218
@@ -616,9 +616,14 @@
%if "%{with_mod_php_oci7}" == "yes" || "%{with_mod_php_oci8}" == "yes"
ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
export ORACLE_HOME
- %{l_shtool} subst \
- -e 's;OCI8_DIR/lib;OCI8_DIR/lib32;' \
- configure
+ 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
%if "%{with_mod_php_sendmail}" == "yes"
PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]