From 7dcfe9a9025d2abf9a95a78a1969c3302154ae7c Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Thu, 21 Jun 2007 22:36:22 +0000 Subject: Only check VNC installation when vnc USE flag is set (Portage version: 2.1.3_rc4) --- net-misc/nxnode/ChangeLog | 5 ++++- net-misc/nxnode/nxnode-3.0.0.ebuild | 18 +++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'net-misc/nxnode') diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog index b69fb3476ed9..757cd5582c96 100644 --- a/net-misc/nxnode/ChangeLog +++ b/net-misc/nxnode/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/nxnode # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.6 2007/06/21 20:19:37 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.7 2007/06/21 22:36:22 voyageur Exp $ + + 21 Jun 2007; Bernard Cafarelli nxnode-3.0.0.ebuild: + Only check VNC installation when vnc USE flag is set *nxnode-3.0.0 (21 Jun 2007) diff --git a/net-misc/nxnode/nxnode-3.0.0.ebuild b/net-misc/nxnode/nxnode-3.0.0.ebuild index c142ec3f7ecb..56eeef2e8f30 100644 --- a/net-misc/nxnode/nxnode-3.0.0.ebuild +++ b/net-misc/nxnode/nxnode-3.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.0.0.ebuild,v 1.1 2007/06/21 20:19:37 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.0.0.ebuild,v 1.2 2007/06/21 22:36:22 voyageur Exp $ inherit eutils @@ -32,12 +32,16 @@ RDEPEND="=net-misc/nxclient-3* S=${WORKDIR}/NX pkg_setup() { - if has_version net-misc/vnc && ! built_with_use net-misc/vnc server; then - die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" - fi - - if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server; then - die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" + if use vnc; then + if has_version net-misc/vnc && ! built_with_use net-misc/vnc server; + then + die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" + fi + + if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server; + then + die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" + fi fi } -- cgit v1.2.3-65-gdbad