Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 122989
Collapse All | Expand All

(-)findutils-4.3.0.ebuild (+12 lines)
Lines 55-60 src_compile() { Link Here
55
	emake libexecdir=/usr/lib/find AR="$(tc-getAR)" || die "make failed"
55
	emake libexecdir=/usr/lib/find AR="$(tc-getAR)" || die "make failed"
56
}
56
}
57
57
58
src_test() {
59
	echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
60
	if ! hasq userpriv ${FEATURES} ; then
61
		einfo "Disabling test \"find.gnu/access\", as it requires FEATURES=userpriv"
62
63
		(sed -i 's~^find.gnu/access.\(xo\|exp\) \\$~\\~' find/testsuite/Makefile \
64
		&& rm -f find/testsuite/find.gnu/access.{xo,exp} ) \
65
		|| die "failed to disable test \"find.gnu/access\""
66
	fi
67
	make check || die "make check failed"
68
}
69
58
src_install() {
70
src_install() {
59
	make DESTDIR="${D}" libexecdir="${D}/usr/lib/find" install || die
71
	make DESTDIR="${D}" libexecdir="${D}/usr/lib/find" install || die
60
72

Return to bug 122989