Lines 14-20
Link Here
|
14 |
LICENSE="ZSH gdbm? ( GPL-2 )" |
14 |
LICENSE="ZSH gdbm? ( GPL-2 )" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
17 |
IUSE="caps debug doc examples gdbm maildir pcre static unicode" |
17 |
IUSE="caps debug doc examples gdbm maildir pcre static tinfo unicode" |
18 |
|
18 |
|
19 |
RDEPEND=" |
19 |
RDEPEND=" |
20 |
>=sys-libs/ncurses-5.1 |
20 |
>=sys-libs/ncurses-5.1 |
Lines 23-28
Link Here
|
23 |
pcre? ( >=dev-libs/libpcre-3.9 |
23 |
pcre? ( >=dev-libs/libpcre-3.9 |
24 |
static? ( >=dev-libs/libpcre-3.9[static-libs] ) ) |
24 |
static? ( >=dev-libs/libpcre-3.9[static-libs] ) ) |
25 |
gdbm? ( sys-libs/gdbm ) |
25 |
gdbm? ( sys-libs/gdbm ) |
|
|
26 |
tinfo? ( >=sys-libs/ncurses-5.7-r4[tinfo] ) |
26 |
" |
27 |
" |
27 |
DEPEND="sys-apps/groff |
28 |
DEPEND="sys-apps/groff |
28 |
${RDEPEND}" |
29 |
${RDEPEND}" |
Lines 48-54
Link Here
|
48 |
} |
49 |
} |
49 |
|
50 |
|
50 |
src_configure() { |
51 |
src_configure() { |
51 |
local myconf= |
52 |
local myconf termlibs |
52 |
|
53 |
|
53 |
if use static ; then |
54 |
if use static ; then |
54 |
myconf+=" --disable-dynamic" |
55 |
myconf+=" --disable-dynamic" |
Lines 68-73
Link Here
|
68 |
append-ldflags -Wl,-x |
69 |
append-ldflags -Wl,-x |
69 |
fi |
70 |
fi |
70 |
|
71 |
|
|
|
72 |
if use tinfo ; then |
73 |
termlibs="tinfow tinfo" |
74 |
else |
75 |
termlibs="ncursesw ncurses" |
76 |
fi |
77 |
|
71 |
econf \ |
78 |
econf \ |
72 |
--bindir="${EPREFIX}"/bin \ |
79 |
--bindir="${EPREFIX}"/bin \ |
73 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
80 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
Lines 76-82
Link Here
|
76 |
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \ |
83 |
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \ |
77 |
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \ |
84 |
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \ |
78 |
--enable-function-subdirs \ |
85 |
--enable-function-subdirs \ |
79 |
--with-term-lib="ncursesw ncurses" \ |
86 |
--with-term-lib="${termlibs}" \ |
80 |
--with-tcsetpgrp \ |
87 |
--with-tcsetpgrp \ |
81 |
$(use_enable maildir maildir-support) \ |
88 |
$(use_enable maildir maildir-support) \ |
82 |
$(use_enable pcre) \ |
89 |
$(use_enable pcre) \ |