On Thu, Jun 12, 2008, steve muskiewicz wrote:

> I'm currently building OpenPKG CURRENT on RHEL4, found a minor issue with the
> perl:
>
> The way the "libdirs" assignment is done causes a leading space to get added 
> to
> the contents.  This appears to be enough to break the "perl -v" and "perl -V"
> output (in this case, it reports the Perl details from the RHEL4 package, ie.
> the libs from /usr/lib/perl).  I fixed it by changing this:
>
>     for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; 
> do
>         [ -d $dir ] && libdirs="$libdirs $dir"
>     done
>
> to this:
>
>     for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; 
> do
>         [ -d $dir ] && libdirs="${libdirs}${dir} "
>     done

Now fixed. Thanks for reporting.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to