summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-04-08 15:25:55 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-04-08 15:25:55 +0000
commit438743903809a0d407aec7af21350dcbf52f96ee (patch)
treedddb1d0e59f0d8a4f44e1706034398b0d8e9abb0 /net-analyzer
parentStable for HPPA (bug #362185). (diff)
downloadgentoo-2-438743903809a0d407aec7af21350dcbf52f96ee.tar.gz
gentoo-2-438743903809a0d407aec7af21350dcbf52f96ee.tar.bz2
gentoo-2-438743903809a0d407aec7af21350dcbf52f96ee.zip
Import changes from Gentoo Prefix overlay, KEYWORDS, append-libs for osx, permission handling. No change for non prefix platforms
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/mtr/ChangeLog6
-rw-r--r--net-analyzer/mtr/mtr-0.80.ebuild21
2 files changed, 18 insertions, 9 deletions
diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog
index f9b9bb961570..134700e9aab3 100644
--- a/net-analyzer/mtr/ChangeLog
+++ b/net-analyzer/mtr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/mtr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.100 2011/04/08 15:07:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.101 2011/04/08 15:25:55 darkside Exp $
+
+ 08 Apr 2011; Jeremy Olexa <darkside@gentoo.org> mtr-0.80.ebuild:
+ Import changes from Gentoo Prefix overlay, KEYWORDS, append-libs for osx,
+ permission handling. No change for non prefix platforms
08 Apr 2011; Jeroen Roovers <jer@gentoo.org> mtr-0.80.ebuild:
Stable for HPPA (bug #362609).
diff --git a/net-analyzer/mtr/mtr-0.80.ebuild b/net-analyzer/mtr/mtr-0.80.ebuild
index 7adb0a40f3c1..dcff2a3683b2 100644
--- a/net-analyzer/mtr/mtr-0.80.ebuild
+++ b/net-analyzer/mtr/mtr-0.80.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.80.ebuild,v 1.2 2011/04/08 15:07:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.80.ebuild,v 1.3 2011/04/08 15:25:55 darkside Exp $
EAPI="4"
-inherit eutils autotools
+inherit eutils autotools flag-o-matic
DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool"
HOMEPAGE="http://www.bitwizard.nl/mtr/"
@@ -14,7 +14,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="gtk ipv6 suid"
RDEPEND="
@@ -32,6 +32,9 @@ src_prepare() {
AT_M4DIR="." eautoreconf
}
src_configure() {
+ # In the source's configure script -lresolv is commented out. Apparently it
+ # is needed for 64bit macos still.
+ use x64-macos && append-libs -lresolv
econf \
$(use_with gtk) \
$(use_enable ipv6)
@@ -40,11 +43,13 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
- fowners root:0 /usr/sbin/mtr
- if use suid; then
- fperms 4711 /usr/sbin/mtr
- else
- fperms 0710 /usr/sbin/mtr
+ if use !prefix ; then
+ fowners root:0 /usr/sbin/mtr
+ if use suid; then
+ fperms 4711 /usr/sbin/mtr
+ else
+ fperms 0710 /usr/sbin/mtr
+ fi
fi
dodoc AUTHORS ChangeLog FORMATS NEWS README SECURITY TODO
}