summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-06-29 14:32:10 +0000
committerJeroen Roovers <jer@gentoo.org>2010-06-29 14:32:10 +0000
commit7bd42e715e59ac02ae970faca2ded5d9b1b50931 (patch)
tree6281aab0527f876cb041b58af2c08d65c7854a6d /net-analyzer
parentremove unused license (diff)
downloadgentoo-2-7bd42e715e59ac02ae970faca2ded5d9b1b50931.tar.gz
gentoo-2-7bd42e715e59ac02ae970faca2ded5d9b1b50931.tar.bz2
gentoo-2-7bd42e715e59ac02ae970faca2ded5d9b1b50931.zip
Remove duplicate CFLAGS. Marked ~hppa too.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/iptraf-ng/ChangeLog5
-rw-r--r--net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/net-analyzer/iptraf-ng/ChangeLog b/net-analyzer/iptraf-ng/ChangeLog
index f070280319a8..aeb8ed56a334 100644
--- a/net-analyzer/iptraf-ng/ChangeLog
+++ b/net-analyzer/iptraf-ng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/iptraf-ng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.3 2010/06/29 13:51:43 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.4 2010/06/29 14:32:10 jer Exp $
+
+ 29 Jun 2010; Jeroen Roovers <jer@gentoo.org> iptraf-ng-1.0.2.ebuild:
+ Remove duplicate CFLAGS. Marked ~hppa too.
29 Jun 2010; Jeroen Roovers <jer@gentoo.org> iptraf-ng-1.0.2.ebuild:
New style dep and marked ~amd64 thanks to Polynomial-C.
diff --git a/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild
index 34d75ffa1dbf..13f8a1cd74f2 100644
--- a/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild
+++ b/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild,v 1.3 2010/06/29 13:52:37 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild,v 1.4 2010/06/29 14:32:10 jer Exp $
EAPI=2
-inherit flag-o-matic
+inherit autotools
DESCRIPTION="console-based network monitoring utility, fork off iptraf 3.0.0"
HOMEPAGE="https://fedorahosted.org/iptraf-ng/"
@@ -12,7 +12,7 @@ SRC_URI="https://fedorahosted.org/releases/i/p/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
IUSE="unicode"
DEPEND="
@@ -21,6 +21,11 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i src/Makefile.am -e 's|$(CFLAGS)||g'
+ eautoreconf
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
keepdir /var/{lib,run,log}/iptraf