net-analyzer/arping: src_test() needs dev-libs/check (bug #603312).
authorJeroen Roovers <jer@gentoo.org>
Wed, 21 Dec 2016 11:10:17 +0000 (12:10 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 21 Dec 2016 11:11:07 +0000 (12:11 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-analyzer/arping/arping-2.17.ebuild
net-analyzer/arping/arping-9999.ebuild

index b8726ad3640649163aacad2cfbf7d1dfe77a8dc7..754c4c0f3eea3cd38fddbecbec107f6704dfefd9 100644 (file)
@@ -12,13 +12,18 @@ SRC_URI="http://www.habets.pp.se/synscan/files/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="2"
 KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="test"
 
-DEPEND="
+CDEPEND="
        net-libs/libpcap
        net-libs/libnet:1.1
 "
+DEPEND="
+       ${CDEPEND}
+       test? ( dev-libs/check )
+"
 RDEPEND="
-       ${DEPEND}
+       ${CDEPEND}
        !net-misc/iputils[arping(+)]
 "
 
index e128982659ccf022212e9c694147826faa56ad1f..7179b5a58ad15584d21b06e6034c29cf47775d79 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,12 +13,16 @@ LICENSE="GPL-2"
 SLOT="2"
 KEYWORDS=""
 
-DEPEND="
+CDEPEND="
        net-libs/libpcap
        net-libs/libnet:1.1
 "
+DEPEND="
+       ${CDEPEND}
+       dev-libs/check
+"
 RDEPEND="
-       ${DEPEND}
+       ${CDEPEND}
        !net-misc/iputils[arping(+)]
 "