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

Diff of /eclass/cmake-multilib.eclass

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

Revision 1.3 Revision 1.4
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/cmake-multilib.eclass,v 1.3 2013/09/06 17:11:52 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-multilib.eclass,v 1.4 2013/11/20 19:23:45 mgorny Exp $
4 4
5# @ECLASS: cmake-multilib.eclass 5# @ECLASS: cmake-multilib.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Michał Górny <mgorny@gentoo.org> 7# Michał Górny <mgorny@gentoo.org>
8# @BLURB: cmake-utils wrapper for multilib builds 8# @BLURB: cmake-utils wrapper for multilib builds
46 46
47cmake-multilib_src_install() { 47cmake-multilib_src_install() {
48 cmake-multilib_secure_install() { 48 cmake-multilib_secure_install() {
49 cmake-utils_src_install "${@}" 49 cmake-utils_src_install "${@}"
50 50
51 # Do multilib magic only when >1 ABI is used.
52 if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then
53 multilib_prepare_wrappers
51 # Make sure all headers are the same for each ABI. 54 # Make sure all headers are the same for each ABI.
52 multilib_prepare_wrappers
53 multilib_check_headers 55 multilib_check_headers
56 fi
54 } 57 }
55 58
56 multilib_foreach_abi cmake-multilib_secure_install "${@}" 59 multilib_foreach_abi cmake-multilib_secure_install "${@}"
57 multilib_install_wrappers 60 multilib_install_wrappers
58} 61}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20