summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/netselect/ChangeLog7
-rw-r--r--net-analyzer/netselect/netselect-0.3-r1.ebuild11
-rw-r--r--net-analyzer/netselect/netselect-0.3.ebuild4
3 files changed, 14 insertions, 8 deletions
diff --git a/net-analyzer/netselect/ChangeLog b/net-analyzer/netselect/ChangeLog
index 4425c1557d7a..a61131f1dc9e 100644
--- a/net-analyzer/netselect/ChangeLog
+++ b/net-analyzer/netselect/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/netselect
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.21 2004/12/29 02:54:05 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.22 2005/02/10 01:45:48 j4rg0n Exp $
+
+ 09 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> netselect-0.3-r1.ebuild:
+ Unstable ppc-macos
29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/net-analyzer/netselect/netselect-0.3-r1.ebuild b/net-analyzer/netselect/netselect-0.3-r1.ebuild
index a1d02c1ad329..7f4d8849787c 100644
--- a/net-analyzer/netselect/netselect-0.3-r1.ebuild
+++ b/net-analyzer/netselect/netselect-0.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.8 2004/11/22 16:26:37 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.9 2005/02/10 01:45:48 j4rg0n Exp $
inherit flag-o-matic
@@ -10,13 +10,13 @@ SRC_URI="http://www.worldvisions.ca/~apenwarr/netselect/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="x86 ~ppc sparc ~mips alpha ~arm hppa amd64 ~ia64 ~ppc64 ~s390"
+KEYWORDS="x86 ~ppc sparc ~mips alpha ~arm hppa amd64 ~ia64 ~ppc64 ~s390 ~ppc-macos"
IUSE=""
S="${WORKDIR}/${PN}"
src_compile() {
- append-ldflags "-Wl,-z,now"
+ use ppc-macos || append-ldflags "-Wl,-z,now"
sed -i \
-e "s:PREFIX =.*:PREFIX = ${D}usr:" \
@@ -26,6 +26,9 @@ src_compile() {
-e '34d' \
Makefile \
|| die "sed Makefile failed"
+ if use ppc-macos; then
+ sed -i -e "s:<endian.h>:<machine/endian.h>:" netselect.c || die "sed Makefile failed"
+ fi
emake || die "emake failed"
}
diff --git a/net-analyzer/netselect/netselect-0.3.ebuild b/net-analyzer/netselect/netselect-0.3.ebuild
index 51fcb0abe1d3..f633688f6c4e 100644
--- a/net-analyzer/netselect/netselect-0.3.ebuild
+++ b/net-analyzer/netselect/netselect-0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3.ebuild,v 1.17 2004/06/24 22:12:01 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3.ebuild,v 1.18 2005/02/10 01:45:48 j4rg0n Exp $
DESCRIPTION="Ultrafast implementation of ping."
HOMEPAGE="http://www.worldvisions.ca/~apenwarr/netselect/"