diff options
author | Peter Volkov <pva@gentoo.org> | 2008-04-29 08:24:24 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-04-29 08:24:24 +0000 |
commit | 9d6fbc832e18d6897f4887cc41340fc895c9c011 (patch) | |
tree | 68b15ffee5cc2c6ce8a54b8e75f290f74291af58 /app-dicts/stardict | |
parent | Unmask app-emacs/navi2ch-1.7.5_p20070510. (diff) | |
download | gentoo-2-9d6fbc832e18d6897f4887cc41340fc895c9c011.tar.gz gentoo-2-9d6fbc832e18d6897f4887cc41340fc895c9c011.tar.bz2 gentoo-2-9d6fbc832e18d6897f4887cc41340fc895c9c011.zip |
Changed ordering of use ... and built_with_use ... to avoid built_with_use checks on nonexistent packages, bug #219631, thank Martin Väth for report.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-dicts/stardict')
-rw-r--r-- | app-dicts/stardict/ChangeLog | 7 | ||||
-rw-r--r-- | app-dicts/stardict/stardict-3.0.1-r1.ebuild | 13 |
2 files changed, 12 insertions, 8 deletions
diff --git a/app-dicts/stardict/ChangeLog b/app-dicts/stardict/ChangeLog index 15e9cc44bc28..17d6b43adfdf 100644 --- a/app-dicts/stardict/ChangeLog +++ b/app-dicts/stardict/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-dicts/stardict # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.44 2008/04/28 11:17:59 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.45 2008/04/29 08:24:24 pva Exp $ + + 29 Apr 2008; Peter Volkov <pva@gentoo.org> stardict-3.0.1-r1.ebuild: + Changed ordering of use ... and built_with_use ... to avoid built_with_use + checks on nonexistent packages, bug #219631, thank Martin Väth for + report. 28 Apr 2008; Peter Volkov <pva@gentoo.org> metadata.xml: moved to app-dicts herd, added longdescription. diff --git a/app-dicts/stardict/stardict-3.0.1-r1.ebuild b/app-dicts/stardict/stardict-3.0.1-r1.ebuild index de152bc48257..3a179800629a 100644 --- a/app-dicts/stardict/stardict-3.0.1-r1.ebuild +++ b/app-dicts/stardict/stardict-3.0.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild,v 1.2 2008/04/28 15:57:25 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1-r1.ebuild,v 1.3 2008/04/29 08:24:24 pva Exp $ inherit gnome2 eutils autotools @@ -40,12 +40,11 @@ DEPEND="${DEP} dev-util/pkgconfig" pkg_setup() { - built_with_use gnome-base/libgnome esd || \ - if use gnome && use pronounce; then - ewarn 'Note, being built with USE="gnome" stardict uses gnome_sound_play()' - ewarn 'to play RealPeopleTTS sounds, which plays sounds only in case' - ewarn 'gnome-base/libgnome was built with USE="esd".' - fi + if (use gnome && use pronounce && ! built_with_use gnome-base/libgnome esd); then + ewarn 'Note, being built with USE="gnome" stardict uses gnome_sound_play()' + ewarn 'to play RealPeopleTTS sounds, which plays sounds only in case' + ewarn 'gnome-base/libgnome was built with USE="esd".' + fi } src_unpack() { |