diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-11-18 20:22:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-11-18 20:22:21 +0000 |
commit | 33ba5ff1cd6d443c603e2c3b6e5259cf8b4b8d20 (patch) | |
tree | b668b8716c63ca4b3b798b40512ea581ac49090b /gnome-extra/gnome-system-monitor | |
parent | remove old (diff) | |
download | gentoo-2-33ba5ff1cd6d443c603e2c3b6e5259cf8b4b8d20.tar.gz gentoo-2-33ba5ff1cd6d443c603e2c3b6e5259cf8b4b8d20.tar.bz2 gentoo-2-33ba5ff1cd6d443c603e2c3b6e5259cf8b4b8d20.zip |
Add a check for the cxx USE flag in libpcre.
(Portage version: 2.1.3.19)
Diffstat (limited to 'gnome-extra/gnome-system-monitor')
3 files changed, 21 insertions, 5 deletions
diff --git a/gnome-extra/gnome-system-monitor/ChangeLog b/gnome-extra/gnome-system-monitor/ChangeLog index 121fad2dc75a..9d2dfa8a8e08 100644 --- a/gnome-extra/gnome-system-monitor/ChangeLog +++ b/gnome-extra/gnome-system-monitor/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/gnome-system-monitor # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.151 2007/10/17 20:02:02 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.152 2007/11/18 20:22:21 flameeyes Exp $ + + 18 Nov 2007; Diego Pettenò <flameeyes@gentoo.org> + gnome-system-monitor-2.20.0.ebuild, gnome-system-monitor-2.20.1.ebuild: + Add a check for the cxx USE flag in libpcre. *gnome-system-monitor-2.20.1 (17 Oct 2007) diff --git a/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild b/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild index cbeba742fb33..cd37d0b5f41c 100644 --- a/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild +++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild,v 1.1 2007/10/13 13:09:15 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.0.ebuild,v 1.2 2007/11/18 20:22:21 flameeyes Exp $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="The Gnome System Monitor" HOMEPAGE="http://www.gnome.org/" @@ -33,4 +33,10 @@ DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { G2CONF="${G2CONF} $(use_enable pcre pcrecpp) --disable-scrollkeeper" + + if ! built_with_use --missing true dev-libs/libpcre cxx; then + eerror "To build ${PN} you need the C++ bindings for pcre." + eerror "Please enable the cxx USE flag for dev-libs/libpcre" + die "Missing PCRE C++ bindings." + fi } diff --git a/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild b/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild index a854bb1455a2..165bd2f01eaf 100644 --- a/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild +++ b/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild,v 1.1 2007/10/17 20:02:02 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.20.1.ebuild,v 1.2 2007/11/18 20:22:21 flameeyes Exp $ -inherit gnome2 +inherit gnome2 eutils DESCRIPTION="The Gnome System Monitor" HOMEPAGE="http://www.gnome.org/" @@ -33,4 +33,10 @@ DOCS="AUTHORS ChangeLog NEWS README" pkg_setup() { G2CONF="${G2CONF} $(use_enable pcre pcrecpp) --disable-scrollkeeper" + + if ! built_with_use --missing true dev-libs/libpcre cxx; then + eerror "To build ${PN} you need the C++ bindings for pcre." + eerror "Please enable the cxx USE flag for dev-libs/libpcre" + die "Missing PCRE C++ bindings." + fi } |