diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-28 05:32:58 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2010-06-28 05:32:58 +0000 |
commit | 51753a3e2300d151a75b1da39204e90b584d2bcf (patch) | |
tree | 67a90f38fbb2105ab32ee2b9e63d96e587f9e264 /dev-lang/vala/vala-0.8.1.ebuild | |
parent | Version Bump (diff) | |
download | gentoo-2-51753a3e2300d151a75b1da39204e90b584d2bcf.tar.gz gentoo-2-51753a3e2300d151a75b1da39204e90b584d2bcf.tar.bz2 gentoo-2-51753a3e2300d151a75b1da39204e90b584d2bcf.zip |
Don't have coverage on by default, and add warning about coverage+ccache
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'dev-lang/vala/vala-0.8.1.ebuild')
-rw-r--r-- | dev-lang/vala/vala-0.8.1.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-lang/vala/vala-0.8.1.ebuild b/dev-lang/vala/vala-0.8.1.ebuild index 1180ba7dc042..b65d5a7b6fb6 100644 --- a/dev-lang/vala/vala-0.8.1.ebuild +++ b/dev-lang/vala/vala-0.8.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.8.1.ebuild,v 1.1 2010/05/14 20:35:25 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/vala-0.8.1.ebuild,v 1.2 2010/06/28 05:32:58 nirbheek Exp $ EAPI=1 GCONF_DEBUG=no @@ -12,7 +12,7 @@ HOMEPAGE="http://live.gnome.org/Vala" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" -IUSE="test +vapigen +coverage" +IUSE="test +vapigen coverage" RDEPEND=">=dev-libs/glib-2.14" DEPEND="${RDEPEND} @@ -27,4 +27,12 @@ pkg_setup() { $(use_enable vapigen) $(use_enable coverage)" DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" + + if use coverage && has ccache ${FEATURES}; then + ewarn "USE=coverage does not work well with ccache; valac and libvala" + ewarn "built with ccache and USE=coverage create temporary files inside" + ewarn "CCACHE_DIR and mess with ccache's working, as well as causing" + ewarn "sandbox violations when used to compile other packages." + ewarn "It is STRONGLY recommended that you disable one of them." + fi } |