OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   12-Jun-2008 14:50:51
  Branch: HEAD                             Handle: 2008061213505000

  Modified files:
    openpkg-src/perl        perl.spec

  Log:
    avoid leading whitespace in libdirs variable

  Summary:
    Revision    Changes     Path
    1.128       +8  -2      openpkg-src/perl/perl.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl/perl.spec
  ============================================================================
  $ cvs diff -u -r1.127 -r1.128 perl.spec
  --- openpkg-src/perl/perl.spec        13 Apr 2008 07:30:40 -0000      1.127
  +++ openpkg-src/perl/perl.spec        12 Jun 2008 12:50:50 -0000      1.128
  @@ -32,7 +32,7 @@
   Group:        Perl
   License:      GPL/Artistic
   Version:      5.10.0
  -Release:      20080413
  +Release:      20080612
   
   #   list of sources
   Source0:      ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
  @@ -86,7 +86,13 @@
       fi
       libdirs=""
       for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; 
do
  -        [ -d $dir ] && libdirs="$libdirs $dir"
  +        if [ -d $dir ]; then
  +            if [ ".$libdirs" = . ]; then
  +                libdirs="$dir"
  +            else
  +                libdirs="$libdirs $dir"
  +            fi
  +        fi
       done
       ./Configure \
           -d -e -s \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to