Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: dev-libs/gdl/
Date: Sun, 25 Sep 2011 23:55:48
Message-Id: 406a668ff49c9f6aea87099df16609279b4b66f6.tetromino@gentoo
commit:     406a668ff49c9f6aea87099df16609279b4b66f6
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Sun Sep 25 23:52:47 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Sun Sep 25 23:52:47 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=406a668f

dev-libs/gdl: fix introspection support (#383635)

Add $(use_enable introspection) to G2CONF to ensure that the introspection
USE flag has an actual effect. Also, disable maintainer mode.

Addresses bug #383635, thanks to optiluca <AT> gmail.com for reporting.

---
 .../gdl/{gdl-3.1.5.ebuild => gdl-3.1.5-r1.ebuild}  |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dev-libs/gdl/gdl-3.1.5.ebuild b/dev-libs/gdl/gdl-3.1.5-r1.ebuild
similarity index 85%
rename from dev-libs/gdl/gdl-3.1.5.ebuild
rename to dev-libs/gdl/gdl-3.1.5-r1.ebuild
index 58a5410..1707484 100644
--- a/dev-libs/gdl/gdl-3.1.5.ebuild
+++ b/dev-libs/gdl/gdl-3.1.5-r1.ebuild
@@ -26,4 +26,8 @@ DEPEND="${RDEPEND}
 	>=dev-util/intltool-0.40.1
 	doc? ( >=dev-util/gtk-doc-1.4 )"
 
-DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+pkg_setup() {
+	G2CONF="--disable-maintainer-mode
+		$(use_enable introspection)"
+	DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
+}