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: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.5.ebuild,v 1.9 2012/07/05 16:17:52 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.5.ebuild,v 1.9 2012/07/05 16:17:52 flameeyes Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="5-hdepend" |
6 |
|
6 |
|
7 |
inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use |
7 |
inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use |
8 |
|
8 |
|
Lines 30-36
Link Here
|
30 |
nis? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) ) |
30 |
nis? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) ) |
31 |
)" |
31 |
)" |
32 |
DEPEND="${RDEPEND} |
32 |
DEPEND="${RDEPEND} |
33 |
>=sys-devel/libtool-2 |
33 |
sys-devel/flex" |
|
|
34 |
HDEPEND=">=sys-devel/libtool-2 |
34 |
sys-devel/flex |
35 |
sys-devel/flex |
35 |
nls? ( sys-devel/gettext ) |
36 |
nls? ( sys-devel/gettext ) |
36 |
virtual/pkgconfig" |
37 |
virtual/pkgconfig" |
Lines 83-96
Link Here
|
83 |
} |
84 |
} |
84 |
|
85 |
|
85 |
src_prepare() { |
86 |
src_prepare() { |
86 |
if tc-is-cross-compiler && ! [ -e "${EROOT}"/usr/$(get_libdir)/libfl.a ]; then |
|
|
87 |
eerror "" |
88 |
eerror "Cannot cross-compile because sys-devel/flex is not installed in the target." |
89 |
eerror "Please install sys-devel/flex into the target filesystem and try again." |
90 |
eerror "" |
91 |
die "flex is not installed" |
92 |
fi |
93 |
|
94 |
epatch "${FILESDIR}"/${MY_P}+glibc-2.16.patch |
87 |
epatch "${FILESDIR}"/${MY_P}+glibc-2.16.patch |
95 |
|
88 |
|
96 |
elibtoolize |
89 |
elibtoolize |