diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 19:48:07 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 19:48:07 +0000 |
commit | aa953aa8b6ce3980d719e3ba88cf6281e13d52c6 (patch) | |
tree | 5e07fef49b72810c57a6d01a6f0440546a7c64e6 /media-plugins/gkrellmpc | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-aa953aa8b6ce3980d719e3ba88cf6281e13d52c6.tar.gz gentoo-2-aa953aa8b6ce3980d719e3ba88cf6281e13d52c6.tar.bz2 gentoo-2-aa953aa8b6ce3980d719e3ba88cf6281e13d52c6.zip |
And only show the warning if the use flag is enabled.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/gkrellmpc')
-rw-r--r-- | media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild index c9fce95987a5..66da9d581b39 100644 --- a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild +++ b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild,v 1.3 2009/07/16 19:43:52 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild,v 1.4 2009/07/16 19:48:07 ssuominen Exp $ EAPI=2 inherit eutils gkrellm-plugin toolchain-funcs @@ -28,6 +28,8 @@ src_compile() { } pkg_postinst() { - elog "If you can't connect MPD, please unset USE threads." - elog "See, http://bugs.gentoo.org/276970 for information." + if use threads; then + elog "If you can't connect MPD, please unset USE threads." + elog "See, http://bugs.gentoo.org/276970 for information." + fi } |