diff options
author | Fabian Groffen <grobian@gentoo.org> | 2015-09-05 10:13:25 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2015-09-05 10:15:20 +0200 |
commit | 126e552160ba0ccecc8e98c5759f548d43a87ca3 (patch) | |
tree | 91d7a027ec6166c56da19c55a7cbf06df3b11e18 /mail-client | |
parent | app-emulation/lxc: Version bump (diff) | |
download | gentoo-126e552160ba0ccecc8e98c5759f548d43a87ca3.tar.gz gentoo-126e552160ba0ccecc8e98c5759f548d43a87ca3.tar.bz2 gentoo-126e552160ba0ccecc8e98c5759f548d43a87ca3.zip |
mail-client/mutt: fix curses/slang usage and wc-funcs on Solaris for arrows
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/mutt/mutt-1.5.24.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail-client/mutt/mutt-1.5.24.ebuild b/mail-client/mutt/mutt-1.5.24.ebuild index c2c1ed326b14..a2a25381da90 100644 --- a/mail-client/mutt/mutt-1.5.24.ebuild +++ b/mail-client/mutt/mutt-1.5.24.ebuild @@ -140,12 +140,12 @@ 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" @@ -153,10 +153,12 @@ src_configure() { 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 |