1 |
grobian 12/07/08 09:43:42 |
2 |
|
3 |
Modified: src_configure-v50160001.eblit |
4 |
Log: |
5 |
Adapt library path searching on Prefix for Ubuntu, bug #400839 |
6 |
|
7 |
(Portage version: 2.2.01.20430-prefix/cvs/Darwin i386) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-lang/perl/files/eblits/src_configure-v50160001.eblit |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: src_configure-v50160001.eblit |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- src_configure-v50160001.eblit 5 Jun 2012 17:52:35 -0000 1.1 |
23 |
+++ src_configure-v50160001.eblit 8 Jul 2012 09:43:42 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2012 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v 1.2 2012/07/08 09:43:42 grobian Exp $ |
29 |
|
30 |
myconf() { |
31 |
# the myconf array is declared in src_configure |
32 |
@@ -82,8 +82,9 @@ |
33 |
local llib |
34 |
local paths="" |
35 |
echo "int main() {}" > "${T}"/t.c |
36 |
- # need to ensure dirs contain compatible libs, bug #358875 |
37 |
- for ldir in /lib /usr/lib /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 ; do |
38 |
+ # need to ensure dirs contain compatible libs, |
39 |
+ # bugs #358875, #400839 |
40 |
+ 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 |
41 |
[[ -d ${ldir} ]] || continue |
42 |
# find a random lib from here |
43 |
llib=( ${ldir}/*$(get_libname) ) |