summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-28 15:17:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-28 15:17:56 +0000
commitef5527c73e24ab5c317faed9d0170f8c5c6c9906 (patch)
treed1b24988a0b21f28c916cfd2f998580defcb0c3f /net-misc
parentNew version on cpan (Manifest recommit) (diff)
downloadgentoo-2-ef5527c73e24ab5c317faed9d0170f8c5c6c9906.tar.gz
gentoo-2-ef5527c73e24ab5c317faed9d0170f8c5c6c9906.tar.bz2
gentoo-2-ef5527c73e24ab5c317faed9d0170f8c5c6c9906.zip
use $(tc-getCC)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/netstat-nat/files/digest-netstat-nat-1.3.11
-rw-r--r--net-misc/netstat-nat/files/digest-netstat-nat-1.4.21
-rw-r--r--net-misc/netstat-nat/netstat-nat-1.3.1.ebuild32
-rw-r--r--net-misc/netstat-nat/netstat-nat-1.4.2.ebuild30
-rw-r--r--net-misc/netstat-nat/netstat-nat-1.4.3.ebuild18
5 files changed, 10 insertions, 72 deletions
diff --git a/net-misc/netstat-nat/files/digest-netstat-nat-1.3.1 b/net-misc/netstat-nat/files/digest-netstat-nat-1.3.1
deleted file mode 100644
index dfd564aa0a47..000000000000
--- a/net-misc/netstat-nat/files/digest-netstat-nat-1.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dcd00c6e4b0110c184e6dc20561e6fc0 netstat-nat-1.3.1.tar.gz 12342
diff --git a/net-misc/netstat-nat/files/digest-netstat-nat-1.4.2 b/net-misc/netstat-nat/files/digest-netstat-nat-1.4.2
deleted file mode 100644
index 98c840200798..000000000000
--- a/net-misc/netstat-nat/files/digest-netstat-nat-1.4.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3a383af0c56fbbe61dbe252e65b6d4d7 netstat-nat-1.4.2.tar.gz 15397
diff --git a/net-misc/netstat-nat/netstat-nat-1.3.1.ebuild b/net-misc/netstat-nat/netstat-nat-1.3.1.ebuild
deleted file mode 100644
index 27ea5a9c0fbf..000000000000
--- a/net-misc/netstat-nat/netstat-nat-1.3.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netstat-nat/netstat-nat-1.3.1.ebuild,v 1.6 2004/07/15 03:09:14 agriffis Exp $
-
-IUSE=""
-DESCRIPTION="Display NAT connections"
-HOMEPAGE="http://tweegy.demon.nl/projects/netstat-nat/index.html"
-SRC_URI="http://tweegy.demon.nl/download/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- mv Makefile Makefile.orig
- sed <Makefile.orig >Makefile \
- -e "s|CC = gcc -O2|CC = gcc ${CFLAGS}|"
-}
-
-src_compile() {
- emake || die "compile problem"
-}
-
-src_install () {
- into /usr
- dosbin netstat-nat
- doman netstat-nat.1
- dodoc COPYING README
-}
diff --git a/net-misc/netstat-nat/netstat-nat-1.4.2.ebuild b/net-misc/netstat-nat/netstat-nat-1.4.2.ebuild
deleted file mode 100644
index 416cb7d050c6..000000000000
--- a/net-misc/netstat-nat/netstat-nat-1.4.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netstat-nat/netstat-nat-1.4.2.ebuild,v 1.6 2004/07/15 03:09:14 agriffis Exp $
-
-IUSE=""
-DESCRIPTION="Display NAT connections"
-HOMEPAGE="http://tweegy.demon.nl/projects/netstat-nat/index.html"
-SRC_URI="http://tweegy.demon.nl/download/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-DEPEND="virtual/libc"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i Makefile "s|CC = gcc -O2|CC = gcc ${CFLAGS}|"
-}
-
-src_compile() {
- emake || die "compile problem"
-}
-
-src_install () {
- into /usr
- dosbin netstat-nat
- doman netstat-nat.1
- dodoc COPYING README
-}
diff --git a/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild b/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild
index baae19dabe84..d05c127ed9f8 100644
--- a/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild
+++ b/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild
@@ -1,30 +1,32 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild,v 1.6 2004/07/15 03:09:14 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netstat-nat/netstat-nat-1.4.3.ebuild,v 1.7 2004/10/28 15:17:56 vapier Exp $
+
+inherit toolchain-funcs
-IUSE=""
DESCRIPTION="Display NAT connections"
HOMEPAGE="http://tweegy.demon.nl/projects/netstat-nat/index.html"
SRC_URI="http://tweegy.demon.nl/download/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc"
+KEYWORDS="sparc x86"
+IUSE=""
DEPEND="virtual/libc"
src_unpack() {
unpack ${A}
cd ${S}
- sed -i "s:CC = gcc -Wall -O2:CC = gcc ${CFLAGS}:" Makefile
+ sed -i "s:CC = gcc -Wall -O2:CC = $(tc-getCC) ${CFLAGS}:" Makefile
}
src_compile() {
emake || die "compile problem"
}
-src_install () {
- into /usr
- dosbin netstat-nat
+src_install() {
+ dosbin netstat-nat || die
doman netstat-nat.1
- dodoc COPYING README
+ dodoc README
}