gentoo-alt  

Re: [gentoo-alt] AIX: libiconv issues still ?

Michael Haubenwallner
Mon, 23 Apr 2007 01:43:34 -0700

On Fri, 2007-04-20 at 17:53 +0200, Fabian Groffen wrote:
> On 20-04-2007 10:43:56 -0500, Marshall McMullen wrote:
> > WOO HOO , that worked! You ROCK Haubi !
> 
> So wait, hold on.  Where do I have to apply which patch now?
> 

to portage (bin/misc-functions.sh), the attached one.

Thanks!

/haubi/

-- 
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

--- bin/misc-functions.sh.orig	2007-04-04 17:49:18.003057000 +0200
+++ bin/misc-functions.sh	2007-04-04 17:58:24.466904000 +0200
@@ -312,6 +312,9 @@
 	abort="no"
 	for a in "${ED}"usr/lib*/*.a ; do
 		s=${a%.a}.so
+		if [[ -L ${s} ]] ; then
+			s=${D}$(readlink "${s}") || s=${a%.a}.so
+		fi
 		if [[ ! -e ${s} ]] ; then
 			s=${s%usr/*}${s##*/usr/}
 			if [[ -e ${s} ]] ; then