/[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.13 Revision 1.14
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.13 2012/10/28 09:43:49 pacho Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.14 2012/11/02 16:38:46 vapier 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
80 # Do not hardcode lib32, bug #429726 80 # Do not hardcode lib32, bug #429726
81 local x86_libdir=$(get_abi_LIBDIR x86) 81 local x86_libdir=$(get_abi_LIBDIR x86)
82 if [[ ${x86_libdir} != "lib32" ]] ; then 82 if [[ ${x86_libdir} != "lib32" ]] ; then
83 ewarn "Moving lib32/ to ${x86_libdir}/; some libs might not work" 83 ewarn "Moving lib32/ to ${x86_libdir}/; some libs might not work"
84 mv "${D}"/usr/lib32 "${D}"/usr/${x86_libdir} || die 84 mv "${D}"/usr/lib32 "${D}"/usr/${x86_libdir} || die
85 if [[ -d ${D}/lib32 ]] ; then
85 mv "${D}"/lib32 "${D}"/${x86_libdir} || die 86 mv "${D}"/lib32 "${D}"/${x86_libdir} || die
87 fi
86 fi 88 fi
87} 89}

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

  ViewVC Help
Powered by ViewVC 1.1.20