/[gentoo-x86]/eclass/emul-linux-x86.eclass
Gentoo

Diff of /eclass/emul-linux-x86.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.12 2012/10/28 09:02:24 pacho Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.13 2012/10/28 09:43:49 pacho Exp $
4 4
5# 5#
6# Original Author: Mike Doty <kingtaco@gentoo.org> 6# Original Author: Mike Doty <kingtaco@gentoo.org>
7# Adapted from emul-libs.eclass 7# Adapted from emul-libs.eclass
8# Purpose: Providing a template for the app-emulation/emul-linux-* packages 8# Purpose: Providing a template for the app-emulation/emul-linux-* packages
9# 9#
10 10
11inherit versionator 11inherit multilib versionator
12 12
13if version_is_at_least 20110129; then 13if version_is_at_least 20110129; then
14 IUSE="development" 14 IUSE="development"
15else 15else
16 IUSE="" 16 IUSE=""
74 74
75 # remove void directories 75 # remove void directories
76 find "${S}" -depth -type d -print0 | xargs -0 rmdir 2&>/dev/null 76 find "${S}" -depth -type d -print0 | xargs -0 rmdir 2&>/dev/null
77 77
78 cp -pPR "${S}"/* "${ED}"/ || die "copying files failed!" 78 cp -pPR "${S}"/* "${ED}"/ || die "copying files failed!"
79
80 # Do not hardcode lib32, bug #429726
81 local x86_libdir=$(get_abi_LIBDIR x86)
82 if [[ ${x86_libdir} != "lib32" ]] ; then
83 ewarn "Moving lib32/ to ${x86_libdir}/; some libs might not work"
84 mv "${D}"/usr/lib32 "${D}"/usr/${x86_libdir} || die
85 mv "${D}"/lib32 "${D}"/${x86_libdir} || die
86 fi
79} 87}

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20