public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Restovtsev" <tetromino@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: eclass/
Date: Sun, 21 Aug 2011 07:10:26 +0000 (UTC)	[thread overview]
Message-ID: <4796989ee09cce6627c53a3dcff657974625d88e.tetromino@gentoo> (raw)

commit:     4796989ee09cce6627c53a3dcff657974625d88e
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sun Aug 21 06:51:58 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Aug 21 07:05:27 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4796989e

eclass/gnome2.eclass: sync with gx86

Add the following change from gx86:

 Revision 1.99
 Sun Aug 14 03:46:33 2011 UTC by nirbheek

 For ebuilds with USE=static-libs, remove .la files conditionally for
 GNOME2_LA_PUNT

---
 eclass/gnome2.eclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index c655269..49a0556 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -196,7 +196,9 @@ gnome2_src_install() {
 	# Delete all .la files
 	if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
 		ebegin "Removing .la files"
-		find "${D}" -name '*.la' -exec rm -f {} + || die
+		if ! { has static-libs ${IUSE//+} && use static-libs; }; then
+			find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+		fi
 		eend
 	fi
 }



             reply	other threads:[~2011-08-21  7:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21  7:10 Alexandre Restovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-03-01 22:51 [gentoo-commits] proj/gnome:gnome-next commit in: eclass/ Gilles Dartiguelongue
2011-09-27 13:36 Nirbheek Chauhan
2011-09-26  4:46 Alexandre Restovtsev
2011-09-25 20:33 Alexandre Restovtsev
2011-09-20  2:16 Alexandre Restovtsev
2011-09-19 23:22 Alexandre Restovtsev
2011-08-28 18:46 Alexandre Restovtsev
2011-08-24 16:32 Alexandre Restovtsev
2011-07-19  0:22 Alexandre Restovtsev

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=4796989ee09cce6627c53a3dcff657974625d88e.tetromino@gentoo \
    --to=tetromino@gmail.com \
    --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