summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-01-16 02:08:11 +0000
committerJonathan Callen <abcd@gentoo.org>2010-01-16 02:08:11 +0000
commit347a0722cd89f8ec4de72cb281e42359a64ffec8 (patch)
tree2b36579aa2d15c43deef0e8a4fcb6e5782246b62 /net-analyzer/netcat
parentAdd prefix keywords (diff)
downloadgentoo-2-347a0722cd89f8ec4de72cb281e42359a64ffec8.tar.gz
gentoo-2-347a0722cd89f8ec4de72cb281e42359a64ffec8.tar.bz2
gentoo-2-347a0722cd89f8ec4de72cb281e42359a64ffec8.zip
Add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/netcat')
-rw-r--r--net-analyzer/netcat/ChangeLog7
-rw-r--r--net-analyzer/netcat/netcat-110-r8.ebuild7
2 files changed, 9 insertions, 5 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog
index 8538d127a272..1c29071b52a4 100644
--- a/net-analyzer/netcat/ChangeLog
+++ b/net-analyzer/netcat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/netcat
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.38 2007/07/08 11:39:27 uberlord Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.39 2010/01/16 02:08:11 abcd Exp $
+
+ 16 Jan 2010; Jonathan Callen <abcd@gentoo.org> netcat-110-r8.ebuild:
+ Add prefix keywords
08 Jul 2007; Roy Marples <uberlord@gentoo.org> netcat-110-r8.ebuild:
Keyworded ~x86-fbsd.
diff --git a/net-analyzer/netcat/netcat-110-r8.ebuild b/net-analyzer/netcat/netcat-110-r8.ebuild
index 44a7d5e14574..ac6bbd5da117 100644
--- a/net-analyzer/netcat/netcat-110-r8.ebuild
+++ b/net-analyzer/netcat/netcat-110-r8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r8.ebuild,v 1.11 2007/07/08 11:39:27 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r8.ebuild,v 1.12 2010/01/16 02:08:11 abcd Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/nc110/${MY_P}.tgz
LICENSE="as-is"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
IUSE="crypt ipv6 static"
DEPEND="crypt? ( dev-libs/libmix )"
@@ -34,6 +34,7 @@ src_compile() {
use ipv6 && XFLAGS="${XFLAGS} -DINET6"
use static && export STATIC="-static"
use crypt && XFLAGS="${XFLAGS} -DAESCRYPT" && XLIBS="${XLIBS} -lmix"
+ [[ ${CHOST} == *-solaris* ]] && XLIBS="${XLIBS} -lnsl -lsocket"
make -e CC="$(tc-getCC) ${CFLAGS}" nc || die
}