Lines 7-13
Link Here
|
7 |
DESCRIPTION="Utilities to deal with user accounts" |
7 |
DESCRIPTION="Utilities to deal with user accounts" |
8 |
SRC_URI="ftp://ftp.pld.org.pl/software/shadow/old/${P}.tar.gz" |
8 |
SRC_URI="ftp://ftp.pld.org.pl/software/shadow/old/${P}.tar.gz" |
9 |
|
9 |
|
10 |
DEPEND=">=sys-libs/pam-0.73 sys-devel/gettext" |
10 |
DEPEND=">=sys-libs/pam-0.73 |
|
|
11 |
nls? ( sys-devel/gettext )" |
11 |
RDEPEND=">=sys-libs/pam-0.73" |
12 |
RDEPEND=">=sys-libs/pam-0.73" |
12 |
|
13 |
|
13 |
src_unpack() { |
14 |
src_unpack() { |
Lines 17-28
Link Here
|
17 |
} |
18 |
} |
18 |
|
19 |
|
19 |
src_compile() { |
20 |
src_compile() { |
|
|
21 |
|
22 |
local myconf |
23 |
use nls || myconf="${myconf} --disable-nls" |
24 |
|
20 |
./configure \ |
25 |
./configure \ |
21 |
--disable-desrpc \ |
26 |
--disable-desrpc \ |
22 |
--with-libcrypt \ |
27 |
--with-libcrypt \ |
23 |
--with-libcrack \ |
28 |
--with-libcrack \ |
24 |
--with-libpam \ |
29 |
--with-libpam \ |
25 |
--host=${CHOST} || die "bad configure" |
30 |
--host=${CHOST} \ |
|
|
31 |
${myconf} || die "bad configure" |
26 |
|
32 |
|
27 |
# Parallel make fails sometimes |
33 |
# Parallel make fails sometimes |
28 |
make LDFLAGS="" || die "compile problem" |
34 |
make LDFLAGS="" || die "compile problem" |