summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2005-09-06 16:29:15 +0000
committerRoy Marples <uberlord@gentoo.org>2005-09-06 16:29:15 +0000
commit332e64f5c353ee8c7ef52de2c2850f88e775c4dc (patch)
treeeae2f6bd54deaa143a5aebf037c021e6104abf6d /net-misc/dhcpcd/dhcpcd-2.0.0.ebuild
parentRemove FreeBSD patch, some other change made it pointless. (diff)
downloadgentoo-2-332e64f5c353ee8c7ef52de2c2850f88e775c4dc.tar.gz
gentoo-2-332e64f5c353ee8c7ef52de2c2850f88e775c4dc.tar.bz2
gentoo-2-332e64f5c353ee8c7ef52de2c2850f88e775c4dc.zip
Warn that the debug USE flag enables good debug output but does
not actually configure the interface or setup /etc/resolv.conf (Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/dhcpcd/dhcpcd-2.0.0.ebuild')
-rw-r--r--net-misc/dhcpcd/dhcpcd-2.0.0.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild b/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild
index ee21f96e9ad7..df8f793086c4 100644
--- a/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild,v 1.11 2005/09/03 20:59:17 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-2.0.0.ebuild,v 1.12 2005/09/06 16:29:15 uberlord Exp $
inherit flag-o-matic eutils
@@ -16,8 +16,16 @@ IUSE="build debug static"
DEPEND=""
PROVIDE="virtual/dhcpc"
+pkg_setup() {
+ if use debug ; then
+ ewarn "WARNING: dhcpcd will provide good debugging output with the"
+ ewarn "debug USE flag enabled but will not actually configure the"
+ ewarn "interface or setup /etc/resolv.conf"
+ fi
+}
+
src_unpack() {
- unpack ${A}
+ unpack "${A}"
cd "${S}"
# Fix compiling on gcc2