Skip to content

Commit

Permalink
mail-client/mutt: fix curses/slang usage and wc-funcs on Solaris for …
Browse files Browse the repository at this point in the history
…arrows

Package-Manager: portage-2.2.20-prefix
  • Loading branch information
grobian committed Sep 5, 2015
1 parent ded368f commit 126e552
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions mail-client/mutt/mutt-1.5.24.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -140,23 +140,25 @@ src_configure() {
$(use_enable smtp) \
$(use_with idn) \
$(use_with kerberos gss) \
$(use slang && echo --with-slang) \
$(use slang && echo --with-slang=${EPREFIX}/usr) \
$(use !slang && echo --with-curses=${EPREFIX}/usr) \
--enable-compressed \
--enable-external-dotlock \
--enable-nfs-fix \
--sysconfdir=${EPREFIX}/etc/${PN} \
--with-curses \
--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR} \
--with-regex \
--with-exec-shell=${EPREFIX}/bin/sh"

case $CHOST in
*-solaris*)
# Solaris has no flock in the standard headers
myconf="${myconf} --enable-fcntl --disable-flock"
myconf+=" --enable-fcntl --disable-flock"
# wchar_t depends on locale
myconf+=" --without-wc-funcs"
;;
*)
myconf="${myconf} --disable-fcntl --enable-flock"
myconf+=" --disable-fcntl --enable-flock"
;;
esac

Expand Down

0 comments on commit 126e552

Please sign in to comment.