public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog multilib-build.eclass
Date: Mon, 12 May 2014 21:56:17 +0000 (UTC)	[thread overview]
Message-ID: <20140512215617.50BEF2004C@flycatcher.gentoo.org> (raw)

mgorny      14/05/12 21:56:17

  Modified:             ChangeLog multilib-build.eclass
  Log:
  Do not install wrapper headers when no ABI provides a particular header.

Revision  Changes    Path
1.1252               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1252&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1252&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1251&r2=1.1252

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1251
retrieving revision 1.1252
diff -u -r1.1251 -r1.1252
--- ChangeLog	12 May 2014 11:53:28 -0000	1.1251
+++ ChangeLog	12 May 2014 21:56:17 -0000	1.1252
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1251 2014/05/12 11:53:28 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1252 2014/05/12 21:56:17 mgorny Exp $
+
+  12 May 2014; Michał Górny <mgorny@gentoo.org> multilib-build.eclass:
+  Do not install wrapper headers when no ABI provides a particular header.
 
   12 May 2014; Michael Palimaka <kensington@gentoo.org> -boost-utils.eclass, -office-ext.eclass:
   Remove last-rited eclasses.



1.48                 eclass/multilib-build.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.47&r2=1.48

Index: multilib-build.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- multilib-build.eclass	7 May 2014 17:33:49 -0000	1.47
+++ multilib-build.eclass	12 May 2014 21:56:17 -0000	1.48
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.47 2014/05/07 17:33:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.48 2014/05/12 21:56:17 mgorny Exp $
 
 # @ECLASS: multilib-build.eclass
 # @MAINTAINER:
@@ -414,10 +414,12 @@
 
 				local dir=${f%/*}
 
-				if [[ ! -f ${ED}/tmp/multilib-include${f} ]]; then
-					dodir "/tmp/multilib-include${dir}"
-					# a generic template
-					cat > "${ED}/tmp/multilib-include${f}" <<_EOF_
+				# Some ABIs may have install less files than others.
+				if [[ -f ${root}/usr/include${f} ]]; then
+					if [[ ! -f ${ED}/tmp/multilib-include${f} ]]; then
+						dodir "/tmp/multilib-include${dir}"
+						# a generic template
+						cat > "${ED}/tmp/multilib-include${f}" <<_EOF_
 /* This file is auto-generated by multilib-build.eclass
  * as a multilib-friendly wrapper. For the original content,
  * please see the files that are #included below.
@@ -443,10 +445,8 @@
 #	error "No ABI matched, please report a bug to bugs.gentoo.org"
 #endif
 _EOF_
-				fi
+					fi
 
-				# Some ABIs may have install less files than others.
-				if [[ -f ${root}/usr/include${f} ]]; then
 					# $CHOST shall be set by multilib_toolchain_setup
 					dodir "/tmp/multilib-include/${CHOST}${dir}"
 					mv "${root}/usr/include${f}" "${ED}/tmp/multilib-include/${CHOST}${dir}/" || die





             reply	other threads:[~2014-05-12 21:56 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 21:56 Michal Gorny (mgorny) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-26 20:43 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog multilib-build.eclass Michal Gorny (mgorny)
2014-08-17  3:34 Jonathan Callen (jcallen)
2014-07-04 13:02 Michal Gorny (mgorny)
2014-07-03 17:45 Fabian Groffen (grobian)
2014-07-03  8:27 Michal Gorny (mgorny)
2014-07-03  7:48 Michal Gorny (mgorny)
2014-06-29  8:32 Michal Gorny (mgorny)
2014-06-29  7:53 Michal Gorny (mgorny)
2014-06-28  9:56 Michal Gorny (mgorny)
2014-06-08 13:57 Michal Gorny (mgorny)
2014-05-28 18:53 Michal Gorny (mgorny)
2014-05-23 17:11 Michal Gorny (mgorny)
2014-05-23  7:53 Michal Gorny (mgorny)
2014-05-23  7:47 Michal Gorny (mgorny)
2014-05-23  7:39 Michal Gorny (mgorny)
2014-05-23  7:38 Michal Gorny (mgorny)
2014-05-23  7:11 Michal Gorny (mgorny)
2014-05-07 17:33 Michal Gorny (mgorny)
2014-05-01  9:52 Michal Gorny (mgorny)
2014-04-29 20:59 Michal Gorny (mgorny)
2014-04-29 20:59 Michal Gorny (mgorny)
2014-04-29 20:57 Michal Gorny (mgorny)
2014-04-29 20:56 Michal Gorny (mgorny)
2014-04-28 17:38 Michal Gorny (mgorny)
2014-04-22 20:12 Michal Gorny (mgorny)
2014-04-21  7:58 Michal Gorny (mgorny)
2014-04-21  7:27 Michal Gorny (mgorny)
2014-04-21  7:22 Michal Gorny (mgorny)
2014-04-21  7:17 Michal Gorny (mgorny)
2014-04-03 21:38 Michal Gorny (mgorny)
2014-04-03 21:32 Michal Gorny (mgorny)
2014-03-31 15:32 Michal Gorny (mgorny)
2014-03-30  8:41 Michal Gorny (mgorny)
2014-01-16 20:05 Michal Gorny (mgorny)
2014-01-16 18:53 Michal Gorny (mgorny)
2013-12-31 18:31 Michal Gorny (mgorny)
2013-10-01 18:06 Michal Gorny (mgorny)
2013-10-01 17:42 Michal Gorny (mgorny)
2013-09-30  7:27 Michal Gorny (mgorny)
2013-09-17 13:29 Thomas Sachau (tommy)
2013-09-17 12:25 Thomas Sachau (tommy)
2013-08-08 10:20 Michal Gorny (mgorny)
2013-07-30  2:08 Matt Turner (mattst88)
2013-07-11  6:57 Michal Gorny (mgorny)
2013-06-28  2:37 Michal Gorny (mgorny)
2013-03-09 13:52 Michal Gorny (mgorny)
2013-03-04 19:31 Michal Gorny (mgorny)
2013-03-04 19:30 Michal Gorny (mgorny)
2013-03-02 18:18 Michal Gorny (mgorny)
2013-02-27 23:23 Michal Gorny (mgorny)
2013-02-26 21:05 Michal Gorny (mgorny)
2013-02-26 14:42 Michal Gorny (mgorny)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140512215617.50BEF2004C@flycatcher.gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox