Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: AIX: libiconv issues still ?
Date: Thu, 24 May 2007 09:45:02 +0200
On 23-05-2007 23:58:48 +0200, Michael Haubenwallner wrote:
> > > +           s=${a%.a}.so
> > s = lib/libfoo.so.1.so
> > or
> > s = usr/lib/libfoo.so.so
> > I think this is wrong.  Is the replacement really necessary?  I think .a
> > has always been replaced in this case.
> 
> err, s is recreated from (still initial) $a, not (current) $s:

My bad.

> s = /D/prefix/usr/lib/libfoo.so
> 
> > >             s=${s%usr/*}${s##*/usr/}
> > s = lib/libfoo.so(.so)
> 
> s = /D/prefix/lib/libfoo.so
> 
> > > +           if [[ -L ${s} ]] && rs=$(readlink "${s}"); then
> 
> lib/libfoo.so could be a symlink '-> libfoo.so.1'.
> 
> rs = libfoo.so.1
> 
> Hmm, could this also be a symlink to somewhere outside lib/ ?
> Or even '-> /prefix/lib/libfoo.so.1' ?
> If not, we might not need to resolve symlinks (to $D) again here at all,
> as [[ -e ]] succeeds if symlink is resolveable.

I think it should exist.  Nothing more.  So -e should suffice.

> > > +               [[ ${rs} == /* ]] && s="${D}${rs}" || s="${ED}usr/lib/${rs}"
> > Hmmm... if s is a link, and it is relative, should it start from
> > ${ED}lib in that case?
> 
> oops, you're right, should read:
> +               [[ ${rs} == /* ]] && s="${D}${rs}" || s="${ED}lib/${rs}"

Let's commit it like this then...

-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-alt@g.o mailing list


Replies:
Re: AIX: libiconv issues still ?
-- Fabian Groffen
References:
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Marshall McMullen
Re: AIX: libiconv issues still ?
-- Fabian Groffen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Fabian Groffen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Re: AIX: libiconv issues still ?
-- Fabian Groffen
Re: AIX: libiconv issues still ?
-- Michael Haubenwallner
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: AIX: libiconv issues still ?
Next by thread:
Re: AIX: libiconv issues still ?
Previous by date:
[prefix] net-libs/libwww-5.4.0-r7 fails to build on i386
Next by date:
Re: AIX: libiconv issues still ?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.