Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/4] sys-apps/baselayout: Do not complain about lib+lib32 when it is valid
Date: Sat, 09 Jul 2016 21:03:24
Message-Id: 20160709210128.25449-4-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/4] New no-lib-symlink profile for developers by "Michał Górny"
1 Remove the error on 'lib' directory with SYMLINK_LIB=no multilib layout
2 if lib32 is a valid directory as well. This fixes the wrong assert
3 in the new no-lib-symlink profile while preserving the check on regular
4 lib+lib64 profile.
5 ---
6 sys-apps/baselayout/baselayout-2.2-r1.ebuild | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/sys-apps/baselayout/baselayout-2.2-r1.ebuild b/sys-apps/baselayout/baselayout-2.2-r1.ebuild
10 index a9e1a65..3c3aa95 100644
11 --- a/sys-apps/baselayout/baselayout-2.2-r1.ebuild
12 +++ b/sys-apps/baselayout/baselayout-2.2-r1.ebuild
13 @@ -99,7 +99,7 @@ multilib_layout() {
14 else
15 mkdir -p "${prefix}lib" || die
16 fi
17 - elif [ -d "${prefix}lib" ] ; then
18 + elif [ -d "${prefix}lib" ] && ! has lib32 ${libdirs} ; then
19 # make sure the old "lib" ABI location does not exist; we
20 # only symlinked the lib dir on systems where we moved it
21 # to "lib32" ...
22 --
23 2.9.0