/[gentoo-x86]/eclass/multilib-build.eclass
Gentoo

Diff of /eclass/multilib-build.eclass

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

Revision 1.46 Revision 1.47
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/multilib-build.eclass,v 1.46 2014/05/01 09:52:27 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.47 2014/05/07 17:33:49 mgorny Exp $
4 4
5# @ECLASS: multilib-build.eclass 5# @ECLASS: multilib-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# gx86-multilib team <multilib@gentoo.org> 7# gx86-multilib team <multilib@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
452 mv "${root}/usr/include${f}" "${ED}/tmp/multilib-include/${CHOST}${dir}/" || die 452 mv "${root}/usr/include${f}" "${ED}/tmp/multilib-include/${CHOST}${dir}/" || die
453 453
454 # Note: match a space afterwards to avoid collision potential. 454 # Note: match a space afterwards to avoid collision potential.
455 sed -e "/${abi_flag} /s&error.*&include <${CHOST}${f}>&" \ 455 sed -e "/${abi_flag} /s&error.*&include <${CHOST}${f}>&" \
456 -i "${ED}/tmp/multilib-include${f}" || die 456 -i "${ED}/tmp/multilib-include${f}" || die
457
458 # Hack for emul-linux-x86 compatibility.
459 # It assumes amd64 will come after x86, and will use amd64
460 # headers if no specific x86 headers were installed.
461 if [[ ${ABI} == amd64 ]]; then
462 sed -e "/abi_x86_32 /s&error.*&include <${CHOST}${f}>&" \
463 -i "${ED}/tmp/multilib-include${f}" || die
464 fi
457 fi 465 fi
458 done 466 done
459 fi 467 fi
460 fi 468 fi
461} 469}

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20