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:59:17
  Branch: HEAD                             Handle: 2003021012591600

  Modified files:
    openpkg-src/oracle      oracle.spec

  Log:
    last attempt

  Summary:
    Revision    Changes     Path
    1.5         +4  -4      openpkg-src/oracle/oracle.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/oracle/oracle.spec
  ============================================================================
  $ cvs diff -u -r1.4 -r1.5 oracle.spec
  --- openpkg-src/oracle/oracle.spec    10 Feb 2003 12:50:44 -0000      1.4
  +++ openpkg-src/oracle/oracle.spec    10 Feb 2003 12:59:16 -0000      1.5
  @@ -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 "libsqlplus.a" -print 2>/dev/null | head 
-1`
  +            file=`find $dir -type f -name "sysliblist" -print 2>/dev/null | head -1`
               if [ ".$file" != . ]; then
                   if [ -f "$file" ]; then
  -                    l_oracle_libdir=`echo $file | sed -e 's;/libsqlplus.a$;;'`
  +                    l_oracle_libdir=`echo $file | sed -e 's;/sysliblist$;;'`
                       break
                   fi
               fi
  @@ -216,8 +216,8 @@
              ) | %{l_rpmtool} msg -b -t error
              exit 1
           fi
  -        if [ ! -f "$l_oracle_libdir/libsqlplus.a" ]; then
  -           ( echo "ORACLE C library directory \"$l_oracle_libdir\" does not contain 
\"libsqlplus.a\ header."
  +        if [ ! -f "$l_oracle_libdir/sysliblist" ]; then
  +           ( echo "ORACLE C library directory \"$l_oracle_libdir\" does not contain 
\"sysliblist\" file."
                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]

Reply via email to