summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-06-28 05:32:58 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-06-28 05:32:58 +0000
commit51753a3e2300d151a75b1da39204e90b584d2bcf (patch)
tree67a90f38fbb2105ab32ee2b9e63d96e587f9e264 /dev-lang/vala
parentVersion Bump (diff)
downloadgentoo-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')
-rw-r--r--dev-lang/vala/ChangeLog5
-rw-r--r--dev-lang/vala/vala-0.8.1.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-lang/vala/ChangeLog b/dev-lang/vala/ChangeLog
index 983842b257b8..d7e3ef9349ac 100644
--- a/dev-lang/vala/ChangeLog
+++ b/dev-lang/vala/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/vala
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/ChangeLog,v 1.20 2010/05/19 17:44:04 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/vala/ChangeLog,v 1.21 2010/06/28 05:32:58 nirbheek Exp $
+
+ 28 Jun 2010; Nirbheek Chauhan <nirbheek@gentoo.org> vala-0.8.1.ebuild:
+ Don't have coverage on by default, and add warning about coverage+ccache
19 May 2010; Mark Loeser <halcy0n@gentoo.org> +vala-0.7.10.ebuild:
Adding back vala-0.7.10 since media-gfx/shotwell depends on it
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
}