diff --git a/net-libs/libnftnl/libnftnl-9999.ebuild b/net-libs/libnftnl/libnftnl-9999.ebuild index a6184ea..31e4093 100644 --- a/net-libs/libnftnl/libnftnl-9999.ebuild +++ b/net-libs/libnftnl/libnftnl-9999.ebuild @@ -14,7 +14,9 @@ SLOT="0/11" # libnftnl.so version KEYWORDS="" IUSE="examples static-libs test" -RDEPEND=">=net-libs/libmnl-1.0.0" +RESTRICT="!test? ( test )" + +RDEPEND=">=net-libs/libmnl-1.0.3" BDEPEND="virtual/pkgconfig" DEPEND="${RDEPEND}" @@ -32,16 +34,16 @@ src_prepare() { } src_configure() { - local myeconfargs=( - $(use_enable static-libs static) - ) - econf "${myeconfargs[@]}" + local myeconfargs=( + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" } src_install() { default gen_usr_ldscript -a nftnl - find "${ED}" -name '*.la' -delete || die + find "${ED}" -type f -name '*.la' -delete || die if use examples; then find examples/ -name 'Makefile*' -delete || die "Could not rm examples"