summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-31 01:27:41 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-31 01:27:41 +0000
commit75a03f17852fbc4065676ee1a0b77303948e3f55 (patch)
tree6b921f3dd778069189dcf1d7a68954573fc18dc3 /sys-apps/net-tools
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-75a03f17852fbc4065676ee1a0b77303948e3f55.tar.gz
gentoo-2-75a03f17852fbc4065676ee1a0b77303948e3f55.tar.bz2
gentoo-2-75a03f17852fbc4065676ee1a0b77303948e3f55.zip
arm/ia64 stable #58633
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r--sys-apps/net-tools/net-tools-1.60-r9.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-apps/net-tools/net-tools-1.60-r9.ebuild b/sys-apps/net-tools/net-tools-1.60-r9.ebuild
index ce33a5101ae7..7e33ca25dd0e 100644
--- a/sys-apps/net-tools/net-tools-1.60-r9.ebuild
+++ b/sys-apps/net-tools/net-tools-1.60-r9.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-r9.ebuild,v 1.10 2004/10/30 21:56:03 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r9.ebuild,v 1.11 2004/10/31 01:27:41 vapier Exp $
inherit flag-o-matic gcc eutils
@@ -11,18 +11,13 @@ SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc sparc mips alpha ~arm hppa amd64 ~ia64 ppc64 s390"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
IUSE="nls build static uclibc"
DEPEND="nls? ( sys-devel/gettext )
>=sys-apps/sed-4"
src_unpack() {
- if use static ; then
- append-flags -static
- append-ldflags -static
- fi
-
PATCHDIR=${WORKDIR}/${P}-gentoo
unpack ${A}
@@ -53,6 +48,11 @@ src_unpack() {
cp ${PATCHDIR}/net-tools-1.60-config.h config.h
cp ${PATCHDIR}/net-tools-1.60-config.make config.make
+ if use static ; then
+ append-flags -static
+ append-ldflags -static
+ fi
+
sed -i \
-e 's/^libdir:/libdir: version.h/' \
-e "s:-O2 -Wall -g:${CFLAGS}:" \