summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-26 21:05:39 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-26 21:05:39 +0000
commit36d0963c810b0f5137a77e45c7a2b7587596ac20 (patch)
tree58d34ef11c74f05106d3464e40d6e3595e2582ac /eclass/multilib-build.eclass
parentNew ebuild for bug 453278. Still needs a little polish. (diff)
downloadgentoo-2-36d0963c810b0f5137a77e45c7a2b7587596ac20.tar.gz
gentoo-2-36d0963c810b0f5137a77e45c7a2b7587596ac20.tar.bz2
gentoo-2-36d0963c810b0f5137a77e45c7a2b7587596ac20.zip
Run header checksumming function only if /usr/include exists (IOW: silence the warning).
Diffstat (limited to 'eclass/multilib-build.eclass')
-rw-r--r--eclass/multilib-build.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index bd773d032a01..b1afd85db209 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.3 2013/02/26 14:42:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.4 2013/02/26 21:05:39 mgorny Exp $
# @ECLASS: multilib-build.eclass
# @MAINTAINER:
@@ -147,6 +147,7 @@ multilib_parallel_foreach_abi() {
# runs (if any). Dies if header files differ.
multilib_check_headers() {
_multilib_header_cksum() {
+ [[ -d ${ED}usr/include ]] && \
find "${ED}"usr/include -type f \
-exec cksum {} + | sort -k2
}