Lines 46-52
RDEPEND="app-arch/bzip2:0=
Link Here
|
46 |
dev-tcltk/tix |
46 |
dev-tcltk/tix |
47 |
) |
47 |
) |
48 |
xml? ( >=dev-libs/expat-2.1:0= ) |
48 |
xml? ( >=dev-libs/expat-2.1:0= ) |
49 |
!!<sys-apps/sandbox-2.6-r1" |
49 |
!!<sys-apps/sandbox-2.6-r1 |
|
|
50 |
elibc_glibc? ( |
51 |
|| ( <sys-libs/glibc-2.26[rpc] |
52 |
( net-libs/libtirpc net-libs/libnsl ) ) |
53 |
) |
54 |
" |
50 |
DEPEND="${RDEPEND} |
55 |
DEPEND="${RDEPEND} |
51 |
virtual/pkgconfig |
56 |
virtual/pkgconfig |
52 |
!sys-devel/gcc[libffi(-)]" |
57 |
!sys-devel/gcc[libffi(-)]" |
Lines 66-71
src_prepare() {
Link Here
|
66 |
epatch "${FILESDIR}/${PN}-3.5-distutils-OO-build.patch" |
71 |
epatch "${FILESDIR}/${PN}-3.5-distutils-OO-build.patch" |
67 |
epatch "${FILESDIR}/3.6-blake2.patch" |
72 |
epatch "${FILESDIR}/3.6-blake2.patch" |
68 |
|
73 |
|
|
|
74 |
has_version '<sys-libs/glibc-2.26[rpc]' || epatch "${FILESDIR}/3.6-nis.patch" |
75 |
|
69 |
epatch_user |
76 |
epatch_user |
70 |
|
77 |
|
71 |
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ |
78 |
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ |
Lines 124-129
src_configure() {
Link Here
|
124 |
# Please query BSD team before removing this! |
131 |
# Please query BSD team before removing this! |
125 |
append-ldflags "-L." |
132 |
append-ldflags "-L." |
126 |
|
133 |
|
|
|
134 |
# We need this in case we are using glibc-2.26 and libtirpc |
135 |
has_version '<sys-libs/glibc-2.26[rpc]' || append-cflags "-I${EPREFIX}/usr/include/tirpc" |
136 |
|
127 |
local dbmliborder |
137 |
local dbmliborder |
128 |
if use gdbm; then |
138 |
if use gdbm; then |
129 |
dbmliborder+="${dbmliborder:+:}gdbm" |
139 |
dbmliborder+="${dbmliborder:+:}gdbm" |
130 |
- |
|
|