summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-21 07:12:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-21 07:12:06 +0000
commite6e2c586f1b0f97191927d633bd73c84616af86a (patch)
tree7e87b64c595ab4cf18f696603e4ca6b6886f7051 /net-misc/vnc
parentVersion bumped. (diff)
downloadgentoo-2-e6e2c586f1b0f97191927d633bd73c84616af86a.tar.gz
gentoo-2-e6e2c586f1b0f97191927d633bd73c84616af86a.tar.bz2
gentoo-2-e6e2c586f1b0f97191927d633bd73c84616af86a.zip
move warning out of src_unpack as it does not belong there
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'net-misc/vnc')
-rw-r--r--net-misc/vnc/vnc-4.1.2.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-misc/vnc/vnc-4.1.2.ebuild b/net-misc/vnc/vnc-4.1.2.ebuild
index ee107f36920f..ec9b6d6e4d8b 100644
--- a/net-misc/vnc/vnc-4.1.2.ebuild
+++ b/net-misc/vnc/vnc-4.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2.ebuild,v 1.16 2006/10/20 14:59:34 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2.ebuild,v 1.17 2006/10/21 07:12:06 vapier Exp $
inherit eutils toolchain-funcs multilib autotools
@@ -61,9 +61,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
-src_unpack() {
- if ! use server;
- then
+pkg_setup() {
+ if ! use server ; then
echo
einfo "The 'server' USE flag will build vnc's server."
einfo "If '-server' is chosen only the client is built to save space."
@@ -71,7 +70,9 @@ src_unpack() {
ebeep
epause 5
fi
+}
+src_unpack() {
unpack ${A}
cd "${S}"