From c2d465e963bed5f6abbac2100ab9102cd75ece16 Mon Sep 17 00:00:00 2001 From: Hanno Böck Date: Sat, 8 Sep 2007 15:19:06 +0000 Subject: improved use-check for guile in taxbird (Portage version: 2.1.3.9) --- app-office/taxbird/ChangeLog | 5 ++++- app-office/taxbird/taxbird-0.10.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app-office/taxbird') diff --git a/app-office/taxbird/ChangeLog b/app-office/taxbird/ChangeLog index 28b5c49326db..0e30c3dedc15 100644 --- a/app-office/taxbird/ChangeLog +++ b/app-office/taxbird/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-office/taxbird # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/taxbird/ChangeLog,v 1.10 2007/09/07 14:58:37 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/taxbird/ChangeLog,v 1.11 2007/09/08 15:19:06 hanno Exp $ + + 08 Sep 2007; Hanno Boeck taxbird-0.10.ebuild: + Improve dev-guile use-check. 07 Sep 2007; Hanno Boeck taxbird-0.10.ebuild: Add check for guile use-flags. diff --git a/app-office/taxbird/taxbird-0.10.ebuild b/app-office/taxbird/taxbird-0.10.ebuild index e07c133c90b1..4e6eca6260c4 100644 --- a/app-office/taxbird/taxbird-0.10.ebuild +++ b/app-office/taxbird/taxbird-0.10.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/app-office/taxbird/taxbird-0.10.ebuild,v 1.2 2007/09/07 14:58:37 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/taxbird/taxbird-0.10.ebuild,v 1.3 2007/09/08 15:19:06 hanno Exp $ inherit eutils fdo-mime flag-o-matic @@ -22,10 +22,10 @@ DEPEND="dev-libs/libgeier dev-scheme/guile" pkg_setup() { - if ! built_with_use 'dev-scheme/guile' 'discouraged deprecated'; then + if has_version ">=dev-scheme/guile-1.8.0" && ! built_with_use dev-scheme/guile discouraged deprecated; then eerror "This package requires dev-scheme/guile with USE=\"discouraged deprecated\"." die "Please reemerge dev-scheme/guile with USE=\"discouraged deprecated\"." - fi + fi filter-ldflags -Wl,--as-needed --as-needed } -- cgit v1.2.3-65-gdbad