summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-01-09 03:56:17 +0000
committerJeroen Roovers <jer@gentoo.org>2012-01-09 03:56:17 +0000
commitc0af7ffe6b559c7be8e595897f9aaa284f9d9491 (patch)
tree7360fa872d43ae59cf4212695dd176f5ddb77cfb /net-analyzer
parentStable for HPPA (bug #397483). (diff)
downloadgentoo-2-c0af7ffe6b559c7be8e595897f9aaa284f9d9491.tar.gz
gentoo-2-c0af7ffe6b559c7be8e595897f9aaa284f9d9491.tar.bz2
gentoo-2-c0af7ffe6b559c7be8e595897f9aaa284f9d9491.zip
Repurpose USE=debug to respect CFLAGS by Agostino Sarubbo (bug #397883).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/gnu-netcat/ChangeLog5
-rw-r--r--net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild13
2 files changed, 9 insertions, 9 deletions
diff --git a/net-analyzer/gnu-netcat/ChangeLog b/net-analyzer/gnu-netcat/ChangeLog
index fbd653c5683b..bfb4982e68b8 100644
--- a/net-analyzer/gnu-netcat/ChangeLog
+++ b/net-analyzer/gnu-netcat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/gnu-netcat
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/ChangeLog,v 1.23 2012/01/06 12:38:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/ChangeLog,v 1.24 2012/01/09 03:56:17 jer Exp $
+
+ 09 Jan 2012; Jeroen Roovers <jer@gentoo.org> gnu-netcat-0.7.1-r3.ebuild:
+ Repurpose USE=debug to respect CFLAGS by Agostino Sarubbo (bug #397883).
06 Jan 2012; Agostino Sarubbo <ago@gentoo.org> gnu-netcat-0.7.1-r3.ebuild:
Stable for AMD64, wrt bug #397127
diff --git a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild
index 9cc9efbead36..9e200682a33a 100644
--- a/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild
+++ b/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild,v 1.2 2012/01/06 12:38:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gnu-netcat/gnu-netcat-0.7.1-r3.ebuild,v 1.3 2012/01/09 03:56:17 jer Exp $
EAPI="3"
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="the GNU network swiss army knife"
HOMEPAGE="http://netcat.sourceforge.net/"
@@ -13,9 +13,7 @@ SRC_URI="mirror://sourceforge/netcat/netcat-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="nls debug"
-
-DEPEND=""
+IUSE="debug nls"
S=${WORKDIR}/netcat-${PV}
@@ -28,9 +26,8 @@ src_prepare() {
}
src_configure() {
- econf \
- $(use_enable nls) \
- $(use_enable debug)
+ use debug && append-flags -DDEBUG
+ econf $(use_enable nls)
}
src_install() {