summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-08-16 10:47:29 +0000
committerFabian Groffen <grobian@gentoo.org>2012-08-16 10:47:29 +0000
commit8ec625fa3866a1b24a7057d844da89d8edd854e5 (patch)
tree18cbcc2967e478d7395fffc9a65824be2884a006 /dev-lang
parentStable for x86, wrt bug #429052 (diff)
downloadgentoo-2-8ec625fa3866a1b24a7057d844da89d8edd854e5.tar.gz
gentoo-2-8ec625fa3866a1b24a7057d844da89d8edd854e5.tar.bz2
gentoo-2-8ec625fa3866a1b24a7057d844da89d8edd854e5.zip
Handle libdir detection when libdir is a symlink, such as /lib/64 on Solaris
(Portage version: 2.2.01.20757-prefix/cvs/SunOS i386)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/perl/ChangeLog11
-rw-r--r--dev-lang/perl/files/eblits/src_configure-v50160001.eblit6
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 7c19ba93da66..08b3a5ea422f 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-lang/perl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.387 2012/08/13 20:19:37 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.388 2012/08/16 10:47:29 grobian Exp $
+
+ 16 Aug 2012; Fabian Groffen <grobian@gentoo.org>
+ files/eblits/src_configure-v50160001.eblit:
+ Handle libdir detection when libdir is a symlink, such as /lib/64 on Solaris
+
+ 15 Aug 2012; Fabian Groffen <grobian@gentoo.org>
+ files/eblits/src_configure-v50160001.eblit:
+ Improve libdir detection for Prefix platforms, in particular Solaris, bug
+ #427072
13 Aug 2012; Fabian Groffen <grobian@gentoo.org>
files/eblits/src_configure-v50160001.eblit:
diff --git a/dev-lang/perl/files/eblits/src_configure-v50160001.eblit b/dev-lang/perl/files/eblits/src_configure-v50160001.eblit
index 4a5cc8ad7508..bd0abdd64e98 100644
--- a/dev-lang/perl/files/eblits/src_configure-v50160001.eblit
+++ b/dev-lang/perl/files/eblits/src_configure-v50160001.eblit
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v 1.4 2012/08/15 18:51:06 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v 1.5 2012/08/16 10:47:29 grobian Exp $
myconf() {
# the myconf array is declared in src_configure
@@ -89,8 +89,8 @@ eblit-perl-src_configure() {
local mtype=$(${scantool} -BF "%M%D#f" "${T}"/t)
einfo "searching libdirs for ${mtype}"
for ldir in /lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib ; do
- [[ -d ${ldir} ]] || continue
- if ${scantool} -BF "%M%D#f" ${ldir} | grep -q ${mtype} ; then
+ [[ -e ${ldir} ]] || continue
+ if ${scantool} -BF "%M%D#f" ${ldir}/ | grep -q ${mtype} ; then
paths="${paths} ${ldir}"
einfo "found ${ldir}"
fi