Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI="3" |
5 |
EAPI="3" |
6 |
|
6 |
|
7 |
inherit eutils flag-o-matic toolchain-funcs multilib |
7 |
AUTOTOOLS_AUTO_DEPEND=no |
|
|
8 |
inherit eutils flag-o-matic toolchain-funcs multilib autotools |
8 |
|
9 |
|
9 |
DESCRIPTION="GNU utilities for finding files" |
10 |
DESCRIPTION="GNU utilities for finding files" |
10 |
HOMEPAGE="http://www.gnu.org/software/findutils/" |
11 |
HOMEPAGE="http://www.gnu.org/software/findutils/" |
Lines 19-27
Link Here
|
19 |
RDEPEND="selinux? ( sys-libs/libselinux ) |
20 |
RDEPEND="selinux? ( sys-libs/libselinux ) |
20 |
nls? ( virtual/libintl )" |
21 |
nls? ( virtual/libintl )" |
21 |
DEPEND="${RDEPEND} |
22 |
DEPEND="${RDEPEND} |
|
|
23 |
prefix? ( ${AUTOTOOLS_DEPEND} ) |
22 |
nls? ( sys-devel/gettext )" |
24 |
nls? ( sys-devel/gettext )" |
23 |
|
25 |
|
24 |
src_prepare() { |
26 |
src_prepare() { |
|
|
27 |
if use prefix; then |
28 |
epatch "${FILESDIR}/${P}-unlinkat.patch" |
29 |
eautoreconf || die |
30 |
fi |
31 |
|
25 |
# Don't build or install locate because it conflicts with slocate, |
32 |
# Don't build or install locate because it conflicts with slocate, |
26 |
# which is a secure version of locate. See bug 18729 |
33 |
# which is a secure version of locate. See bug 18729 |
27 |
sed -i '/^SUBDIRS/s/locate//' Makefile.in |
34 |
sed -i '/^SUBDIRS/s/locate//' Makefile.in |