public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: dev-cpp/pangomm/
Date: Mon, 21 Mar 2011 00:28:42 +0000 (UTC)	[thread overview]
Message-ID: <d0cd9f5e2f661e08d00909e81b7014be497d0554.nirbheek@gentoo> (raw)

commit:     d0cd9f5e2f661e08d00909e81b7014be497d0554
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 00:28:25 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 00:28:25 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d0cd9f5e

dev-cpp/pangomm: fix build with latest glibmm/mm-common

* Make eautoreconf conditional to save build time for people
* The hack shouldn't be needed for the next release

---
 dev-cpp/pangomm/pangomm-2.27.1.ebuild |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/pangomm/pangomm-2.27.1.ebuild b/dev-cpp/pangomm/pangomm-2.27.1.ebuild
index ecd73cb..1a7fc5e 100644
--- a/dev-cpp/pangomm/pangomm-2.27.1.ebuild
+++ b/dev-cpp/pangomm/pangomm-2.27.1.ebuild
@@ -5,7 +5,7 @@
 EAPI="3"
 GCONF_DEBUG="no"
 
-inherit gnome2
+inherit autotools gnome2
 
 DESCRIPTION="C++ interface for pango"
 HOMEPAGE="http://www.gtkmm.org"
@@ -21,16 +21,24 @@ RDEPEND=">=x11-libs/pango-1.23.0
 	dev-libs/libsigc++:2
 	!<dev-cpp/gtkmm-2.13:2.4"
 
+# mm-common needed for mm-common-prepare below
 DEPEND="${RDEPEND}
 	dev-util/pkgconfig
 	doc? (
+		>=dev-cpp/mm-common-0.9.3
 		media-gfx/graphviz
 		dev-libs/libxslt
 		app-doc/doxygen )"
 
-pkg_setup() {
+src_prepare() {
 	G2CONF="${G2CONF}
 		--disable-maintainer-mode
 		$(use_enable doc documentation)"
 	DOCS="AUTHORS ChangeLog NEWS README*"
+
+	if use doc; then
+		# Needed temporarily till next release see glibmm's mm-common dep for details
+		mm-common-prepare --copy --force
+		eautoreconf
+	fi
 }



             reply	other threads:[~2011-03-21  0:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21  0:28 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-23 22:24 [gentoo-commits] proj/gnome:master commit in: dev-cpp/pangomm/ Nirbheek Chauhan
2011-03-26  0:37 Nirbheek Chauhan
2011-03-26 20:22 Gilles Dartiguelongue

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=d0cd9f5e2f661e08d00909e81b7014be497d0554.nirbheek@gentoo \
    --to=nirbheek@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