diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-10-11 13:20:56 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-10-11 13:20:56 +0000 |
commit | 4935d6db3fc65b5d9d8a56dd4993235347b05870 (patch) | |
tree | 291bb010ff4b0d9242a563407a9cc3c675d3618e /x11-libs/guile-gtk | |
parent | stable ppc, bug #195107 (diff) | |
download | gentoo-2-4935d6db3fc65b5d9d8a56dd4993235347b05870.tar.gz gentoo-2-4935d6db3fc65b5d9d8a56dd4993235347b05870.tar.bz2 gentoo-2-4935d6db3fc65b5d9d8a56dd4993235347b05870.zip |
add check for guile deprecated use flag, bug 194311
(Portage version: 2.1.3.12)
Diffstat (limited to 'x11-libs/guile-gtk')
-rw-r--r-- | x11-libs/guile-gtk/ChangeLog | 5 | ||||
-rw-r--r-- | x11-libs/guile-gtk/guile-gtk-2.0.ebuild | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/x11-libs/guile-gtk/ChangeLog b/x11-libs/guile-gtk/ChangeLog index e06b4cd39070..450285a0e7a2 100644 --- a/x11-libs/guile-gtk/ChangeLog +++ b/x11-libs/guile-gtk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-libs/guile-gtk # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/ChangeLog,v 1.29 2007/06/22 22:32:52 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/ChangeLog,v 1.30 2007/10/11 13:20:56 hkbst Exp $ + + 11 Oct 2007; Marijn Schouten <hkBst@gentoo.org> guile-gtk-2.0.ebuild: + add check for guile deprecated use flag, bug 194311 22 Jun 2007; Donnie Berkholz <dberkholz@gentoo.org>; guile-gtk-2.0.ebuild: Keyword ~ppc. diff --git a/x11-libs/guile-gtk/guile-gtk-2.0.ebuild b/x11-libs/guile-gtk/guile-gtk-2.0.ebuild index 146c3a4d89d3..46c06148c0c7 100644 --- a/x11-libs/guile-gtk/guile-gtk-2.0.ebuild +++ b/x11-libs/guile-gtk/guile-gtk-2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/guile-gtk-2.0.ebuild,v 1.3 2007/07/14 08:37:07 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/guile-gtk/guile-gtk-2.0.ebuild,v 1.4 2007/10/11 13:20:56 hkbst Exp $ inherit virtualx @@ -17,12 +17,19 @@ DEPEND="dev-scheme/guile =gnome-base/libglade-2* >=x11-libs/gtkglarea-1.90" +pkg_setup() { + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated" + built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flag" + fi +} + src_test() { Xemake check || die "tests failed" } src_install() { - make DESTDIR=${D} install + make DESTDIR="${D}" install dodoc README AUTHORS ChangeLog NEWS TODO insinto /usr/share/doc/${PF}/examples doins -r examples/ |