/[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.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/multilib-build.eclass,v 1.3 2013/02/26 14:42:24 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.4 2013/02/26 21:05:39 mgorny 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
145# This function needs to be called after each ABI's installation phase. 145# This function needs to be called after each ABI's installation phase.
146# It obtains the header file checksums and compares them with previous 146# It obtains the header file checksums and compares them with previous
147# runs (if any). Dies if header files differ. 147# runs (if any). Dies if header files differ.
148multilib_check_headers() { 148multilib_check_headers() {
149 _multilib_header_cksum() { 149 _multilib_header_cksum() {
150 [[ -d ${ED}usr/include ]] && \
150 find "${ED}"usr/include -type f \ 151 find "${ED}"usr/include -type f \
151 -exec cksum {} + | sort -k2 152 -exec cksum {} + | sort -k2
152 } 153 }
153 154
154 local cksum=$(_multilib_header_cksum) 155 local cksum=$(_multilib_header_cksum)

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

  ViewVC Help
Powered by ViewVC 1.1.20