summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/pchar/ChangeLog12
-rw-r--r--net-analyzer/pchar/pchar-1.5-r1.ebuild (renamed from net-analyzer/pchar/pchar-1.5.ebuild)23
2 files changed, 21 insertions, 14 deletions
diff --git a/net-analyzer/pchar/ChangeLog b/net-analyzer/pchar/ChangeLog
index 252e1de4a1a0..6732f203a83a 100644
--- a/net-analyzer/pchar/ChangeLog
+++ b/net-analyzer/pchar/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/pchar
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pchar/ChangeLog,v 1.7 2010/01/01 17:45:35 fauli Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pchar/ChangeLog,v 1.8 2012/08/20 03:38:48 flameeyes Exp $
+
+*pchar-1.5-r1 (20 Aug 2012)
+
+ 20 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> +pchar-1.5-r1.ebuild,
+ -pchar-1.5.ebuild:
+ Bump to EAPI=4 to be able to depend on ucd-compat for net-snmp; also respect
+ CXX setting and don't depend on automake (unneeded).
01 Jan 2010; Christian Faulhammer <fauli@gentoo.org> pchar-1.5.ebuild:
Transfer Prefix keywords
@@ -27,4 +34,3 @@
23 Mar 2006; Patrick McLean <chutzpah@gentoo.org> +metadata.xml,
+pchar-1.5.ebuild:
Initial version.
-
diff --git a/net-analyzer/pchar/pchar-1.5.ebuild b/net-analyzer/pchar/pchar-1.5-r1.ebuild
index 983109979780..9bd615e31948 100644
--- a/net-analyzer/pchar/pchar-1.5.ebuild
+++ b/net-analyzer/pchar/pchar-1.5-r1.ebuild
@@ -1,11 +1,13 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pchar/pchar-1.5.ebuild,v 1.6 2010/01/01 17:45:35 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/pchar/pchar-1.5-r1.ebuild,v 1.1 2012/08/20 03:38:48 flameeyes Exp $
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF="2.1"
+EAPI=4
-inherit eutils autotools
+WANT_AUTOCONF=2.1
+WANT_AUTOMAKE=none
+
+inherit eutils autotools toolchain-funcs
DESCRIPTION="Internet bandwidth, latency, and loss of links analyzer."
HOMEPAGE="http://www.kitchenlab.org/www/bmah/Software/pchar/"
@@ -17,19 +19,18 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="ipv6 pcap snmp"
DEPEND=">=dev-libs/openssl-0.9.7
- snmp? ( net-analyzer/net-snmp )
+ snmp? ( net-analyzer/net-snmp[ucd-compat(+)] )
pcap? ( net-libs/libpcap )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}"/${P}-snmp.patch
eautoreconf
}
-src_compile() {
+src_configure() {
+ tc-export CC CXX
+
econf --without-suid \
$(use_with ipv6) \
$(use_with snmp snmp /usr/lib) \