diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2007-06-21 22:36:22 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2007-06-21 22:36:22 +0000 |
commit | 7dcfe9a9025d2abf9a95a78a1969c3302154ae7c (patch) | |
tree | ffa3d54202a78a4d470a0ef04daec080fe95dd4b /net-misc/nxnode | |
parent | fix notifications sound (diff) | |
download | gentoo-2-7dcfe9a9025d2abf9a95a78a1969c3302154ae7c.tar.gz gentoo-2-7dcfe9a9025d2abf9a95a78a1969c3302154ae7c.tar.bz2 gentoo-2-7dcfe9a9025d2abf9a95a78a1969c3302154ae7c.zip |
Only check VNC installation when vnc USE flag is set
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'net-misc/nxnode')
-rw-r--r-- | net-misc/nxnode/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/nxnode/nxnode-3.0.0.ebuild | 18 |
2 files changed, 15 insertions, 8 deletions
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 <voyageur@gentoo.org> 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 } |