Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /home/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7-r4.ebuild,v 1.8 2003/04/16 16:06:00 joker Exp $ |
3 |
# $Header: /home/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7-r4.ebuild,v 1.8 2003/04/16 16:06:00 joker Exp $ |
4 |
|
4 |
|
5 |
IUSE="nls build afs selinux" |
5 |
IUSE="nls build afs selinux slang" |
6 |
|
6 |
|
7 |
inherit eutils |
7 |
inherit eutils |
8 |
|
8 |
|
Lines 23-29
Link Here
|
23 |
>=sys-apps/sed-4 |
23 |
>=sys-apps/sed-4 |
24 |
nls? ( sys-devel/gettext ) |
24 |
nls? ( sys-devel/gettext ) |
25 |
afs? ( net-fs/openafs ) |
25 |
afs? ( net-fs/openafs ) |
26 |
selinux? ( sys-apps/selinux-small )" |
26 |
selinux? ( sys-apps/selinux-small ) |
|
|
27 |
slang? ( sys-apps/slocate )" |
27 |
RDEPEND="virtual/glibc" |
28 |
RDEPEND="virtual/glibc" |
28 |
|
29 |
|
29 |
src_unpack() { |
30 |
src_unpack() { |
Lines 32-38
Link Here
|
32 |
|
33 |
|
33 |
# Don't build or install locate because it conflicts with slocate, |
34 |
# Don't build or install locate because it conflicts with slocate, |
34 |
# which is a secure version of locate. See bug 18729 |
35 |
# which is a secure version of locate. See bug 18729 |
35 |
sed -i '/^SUBDIRS/s/locate//' Makefile.in |
36 |
use slang && sed -i '/^SUBDIRS/s/locate//' Makefile.in |
36 |
|
37 |
|
37 |
use selinux && epatch ${DISTDIR}/${P}-2003011510-selinux-gentoo.patch.bz2 |
38 |
use selinux && epatch ${DISTDIR}/${P}-2003011510-selinux-gentoo.patch.bz2 |
38 |
} |
39 |
} |
Lines 70-76
Link Here
|
70 |
} |
71 |
} |
71 |
|
72 |
|
72 |
pkg_postinst() { |
73 |
pkg_postinst() { |
|
|
74 |
if use slang; then |
73 |
ewarn "Please note that the locate and updatedb binaries" |
75 |
ewarn "Please note that the locate and updatedb binaries" |
74 |
ewarn "are not longer provided by findutils." |
76 |
ewarn "are not longer provided by findutils." |
75 |
ewarn "Please emerge slocate" |
77 |
ewarn "Please emerge slocate" |
|
|
78 |
fi |
76 |
} |
79 |
} |