summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-27 17:36:28 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-27 17:36:28 +0000
commitecfe0d1c35355b70933441464aa2cccb0ae6f744 (patch)
tree74c1344d58318476369ba99bd0938bd749ecf38d /sys-apps/net-tools
parentMarking stable on x86 / ppc (diff)
downloadhistorical-ecfe0d1c35355b70933441464aa2cccb0ae6f744.tar.gz
historical-ecfe0d1c35355b70933441464aa2cccb0ae6f744.tar.bz2
historical-ecfe0d1c35355b70933441464aa2cccb0ae6f744.zip
QA - fix use invocation
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r--sys-apps/net-tools/ChangeLog5
-rw-r--r--sys-apps/net-tools/net-tools-1.60-r7.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/net-tools/ChangeLog b/sys-apps/net-tools/ChangeLog
index 595df73f5549..01c4879c60f9 100644
--- a/sys-apps/net-tools/ChangeLog
+++ b/sys-apps/net-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/net-tools
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.31 2004/06/24 22:19:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.32 2004/06/27 17:35:47 agriffis Exp $
+
+ 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> net-tools-1.60-r7.ebuild:
+ QA - fix use invocation
15 Jun 2004; <solar@gentoo.org> net-tools-1.60-r8.ebuild:
added uclibc support
diff --git a/sys-apps/net-tools/net-tools-1.60-r7.ebuild b/sys-apps/net-tools/net-tools-1.60-r7.ebuild
index cfec87719c17..98875682236a 100644
--- a/sys-apps/net-tools/net-tools-1.60-r7.ebuild
+++ b/sys-apps/net-tools/net-tools-1.60-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r7.ebuild,v 1.14 2004/06/24 22:19:18 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r7.ebuild,v 1.15 2004/06/27 17:35:47 agriffis Exp $
inherit eutils
@@ -19,7 +19,7 @@ DEPEND="nls? ( sys-devel/gettext )
src_unpack() {
- if [ "`use static`" ] ; then
+ if use static ; then
CFLAGS="${CFLAGS} -static"
LDFLAGS="${LDFLAGS} -static"
fi
@@ -60,7 +60,7 @@ src_unpack() {
cp -f ${PATCHDIR}/ether-wake.c ${S}
cp -f ${PATCHDIR}/ether-wake.8 ${S}/man/en_US
- if [ -z "`use nls`" ] ; then
+ if ! use nls ; then
sed -i -e 's:\(#define I18N\) 1:\1 0:' config.h || \
die "sed config.h failed"
@@ -77,7 +77,7 @@ src_compile() {
# breaking parallel makes (if ./configure doesn't finish first)
make || die
- if [ "`use nls`" ] ; then
+ if use nls ; then
cd po
make || die
fi
@@ -98,7 +98,7 @@ src_install() {
dodir /usr/bin
dosym /bin/hostname /usr/bin/hostname
- if [ -z "`use build`" ]
+ if ! use build
then
dodoc COPYING README README.ipv6 TODO
else