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: 10-Feb-2003 13:50:44
Branch: HEAD Handle: 2003021012504400
Modified files:
openpkg-src/oracle oracle.spec
Log:
search for other library which exists in 8i and 9i
Summary:
Revision Changes Path
1.4 +4 -4 openpkg-src/oracle/oracle.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/oracle/oracle.spec
============================================================================
$ cvs diff -u -r1.3 -r1.4 oracle.spec
--- openpkg-src/oracle/oracle.spec 10 Feb 2003 12:27:26 -0000 1.3
+++ openpkg-src/oracle/oracle.spec 10 Feb 2003 12:50:44 -0000 1.4
@@ -195,10 +195,10 @@
l_oracle_libdir="%{with_oracle_libdir}"
if [ ".$l_oracle_libdir" = .none ]; then
for dir in $l_oracle_home/lib $l_oracle_home/*/lib; do
- file=`find $dir -type f -name "liboci.a" -print 2>/dev/null | head -1`
+ file=`find $dir -type f -name "libsqlplus.a" -print 2>/dev/null | head
-1`
if [ ".$file" != . ]; then
if [ -f "$file" ]; then
- l_oracle_libdir=`echo $file | sed -e 's;/liboci.a$;;'`
+ l_oracle_libdir=`echo $file | sed -e 's;/libsqlplus.a$;;'`
break
fi
fi
@@ -216,8 +216,8 @@
) | %{l_rpmtool} msg -b -t error
exit 1
fi
- if [ ! -f "$l_oracle_libdir/liboci.a" ]; then
- ( echo "ORACLE C library directory \"$l_oracle_libdir\" does not contain
\"liboci.a\ header."
+ if [ ! -f "$l_oracle_libdir/libsqlplus.a" ]; then
+ ( echo "ORACLE C library directory \"$l_oracle_libdir\" does not contain
\"libsqlplus.a\ header."
echo "Please provide correct path with option with_oracle_libdir."
) | %{l_rpmtool} msg -b -t error
exit 1
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]