Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, opfer@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-office/gnotime: ChangeLog gnotime-2.2.3.ebuild
Date: Mon, 15 Oct 2007 22:37:28
Message-Id: 20071015222221.GN23990@supernova
1 On 21:34 Mon 15 Oct , Christian Faulhammer (opfer) wrote:
2 > 1.1 app-office/gnotime/gnotime-2.2.3.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnotime/gnotime-2.2.3.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/gnotime/gnotime-2.2.3.ebuild?rev=1.1&content-type=text/plain
6
7 > pkg_setup() {
8 > # upstream knows about the fix and has promised to incorporate it
9 > if has_version ">=dev-scheme/guile-1.8" && ! built_with_use dev-scheme/guile deprecated;then
10 > eerror "rebuild dev-scheme/guile with USE=deprecated"
11 > die
12 > fi
13 > }
14
15 You could drop the has_version check and pass '--missing true' to
16 built_with_use().
17
18 Thanks,
19 Donnie
20 --
21 gentoo-dev@g.o mailing list