/[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.15 Revision 1.16
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.15 2013/07/11 06:57:18 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.16 2013/07/27 17:31:47 aballier Exp $
4 4
5# @ECLASS: multilib-build.eclass 5# @ECLASS: multilib-build.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Michał Górny <mgorny@gentoo.org> 7# Michał Górny <mgorny@gentoo.org>
8# @BLURB: flags and utility functions for building multilib packages 8# @BLURB: flags and utility functions for building multilib packages
31# The list of multilib flags and corresponding ABI values. 31# The list of multilib flags and corresponding ABI values.
32_MULTILIB_FLAGS=( 32_MULTILIB_FLAGS=(
33 abi_x86_32:x86 33 abi_x86_32:x86
34 abi_x86_64:amd64 34 abi_x86_64:amd64
35 abi_x86_x32:x32 35 abi_x86_x32:x32
36 abi_x86_32:x86_fbsd
37 abi_x86_64:amd64_fbsd
36) 38)
37 39
38# @ECLASS-VARIABLE: MULTILIB_USEDEP 40# @ECLASS-VARIABLE: MULTILIB_USEDEP
39# @DESCRIPTION: 41# @DESCRIPTION:
40# The USE-dependency to be used on dependencies (libraries) needing 42# The USE-dependency to be used on dependencies (libraries) needing
291 fi 293 fi
292 294
293 # XXX: get abi_* directly 295 # XXX: get abi_* directly
294 local abi_flag 296 local abi_flag
295 case "${ABI}" in 297 case "${ABI}" in
296 amd64) 298 amd64|amd64_fbsd)
297 abi_flag=abi_x86_64;; 299 abi_flag=abi_x86_64;;
298 x86) 300 x86|x86_fbsd)
299 abi_flag=abi_x86_32;; 301 abi_flag=abi_x86_32;;
300 x32) 302 x32)
301 abi_flag=abi_x86_x32;; 303 abi_flag=abi_x86_x32;;
302 *) 304 *)
303 die "Header wrapping for ${ABI} not supported yet";; 305 die "Header wrapping for ${ABI} not supported yet";;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20