Lines 17-28
Link Here
|
17 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
18 |
SLOT="0" |
18 |
SLOT="0" |
19 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" |
19 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" |
20 |
IUSE="nls build afs selinux static" |
20 |
IUSE="nls build selinux static" |
21 |
|
21 |
|
22 |
DEPEND="virtual/libc |
22 |
DEPEND="virtual/libc |
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 ) |
|
|
26 |
selinux? ( sys-libs/libselinux )" |
25 |
selinux? ( sys-libs/libselinux )" |
27 |
RDEPEND="virtual/libc" |
26 |
RDEPEND="virtual/libc" |
28 |
|
27 |
|
Lines 44-54
Link Here
|
44 |
} |
43 |
} |
45 |
|
44 |
|
46 |
src_compile() { |
45 |
src_compile() { |
47 |
if use afs && use x86; then |
|
|
48 |
append-flags -I/usr/afsws/include |
49 |
append-ldflags -lpam |
50 |
export LIBS="/usr/afsws/lib/pam_afs.so.1 -lpam" |
51 |
fi |
52 |
export CPPFLAGS="${CXXFLAGS}" |
46 |
export CPPFLAGS="${CXXFLAGS}" |
53 |
use static && append-ldflags -static |
47 |
use static && append-ldflags -static |
54 |
|
48 |
|