From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mutt/
Date: Thu, 13 Oct 2016 16:06:28 +0000 (UTC) [thread overview]
Message-ID: <1476374780.69844c31d2cd0f140dc003cbe3c6d2dee16325e7.grobian@gentoo> (raw)
commit: 69844c31d2cd0f140dc003cbe3c6d2dee16325e7
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 15:59:41 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 16:06:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69844c31
mail-client/mutt: cleanup econf arguments
Package-Manager: portage-2.3.0
mail-client/mutt/mutt-1.7.1-r1.ebuild | 101 +++++++++++++++++++---------------
1 file changed, 56 insertions(+), 45 deletions(-)
diff --git a/mail-client/mutt/mutt-1.7.1-r1.ebuild b/mail-client/mutt/mutt-1.7.1-r1.ebuild
index a9e98c7..27fe71b 100644
--- a/mail-client/mutt/mutt-1.7.1-r1.ebuild
+++ b/mail-client/mutt/mutt-1.7.1-r1.ebuild
@@ -132,74 +132,85 @@ src_prepare() {
}
src_configure() {
- local myconf="
- $(use_enable crypt pgp) \
- $(use_enable debug) \
- $(use_enable gpg gpgme) \
- $(use_enable imap) \
- $(use_enable nls) \
- $(use_enable nntp) \
- $(use_enable pop) \
- $(use_enable sidebar) \
- $(use_enable smime) \
- $(use_enable smtp) \
- $(use_enable notmuch) \
- $(use_with idn) \
- $(use_with kerberos gss) \
- $(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-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR} \
- --with-regex \
- --with-exec-shell=${EPREFIX}/bin/sh"
+ local myconf=(
+ "$(use_enable crypt pgp)"
+ "$(use_enable debug)"
+ "$(use_enable gpg gpgme)"
+ "$(use_enable imap)"
+ "$(use_enable nls)"
+ "$(use_enable nntp)"
+ "$(use_enable pop)"
+ "$(use_enable sidebar)"
+ "$(use_enable smime)"
+ "$(use_enable smtp)"
+ "$(use_enable notmuch)"
+ "$(use_with idn)"
+ "$(use_with kerberos gss)"
+ "--with-$(use slang && echo slang || echo curses)=${EPREFIX}/usr"
+ "--enable-compressed"
+ "--enable-external-dotlock"
+ "--enable-nfs-fix"
+ "--sysconfdir=${EPREFIX}/etc/${PN}"
+ "--with-docdir=${EPREFIX}/usr/share/doc/${PN}-${PVR}"
+ "--with-regex"
+ "--with-exec-shell=${EPREFIX}/bin/sh"
+ )
if [[ ${CHOST} == *-solaris* ]] ; then
# arrows in index view do not show when using wchar_t
- myconf+=" --without-wc-funcs"
+ myconf+=( "--without-wc-funcs" )
fi
# mutt prioritizes gdbm over bdb, so we will too.
# hcache feature requires at least one database is in USE.
- if use tokyocabinet; then
- myconf="${myconf} --enable-hcache \
- --with-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
- elif use qdbm; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --with-qdbm --without-gdbm --without-bdb"
- elif use gdbm ; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --with-gdbm --without-bdb"
- elif use berkdb; then
- myconf="${myconf} --enable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --with-bdb"
+ local hcaches=(
+ "tokyocabinet"
+ "qdbm"
+ "gdbm"
+ "berkdb:bdb"
+ )
+ local ucache hcache lcache
+ for hcache in "${hcaches[@]}" ; do
+ if use ${hcache%%:*} ; then
+ ucache=${hcache}
+ break
+ fi
+ done
+ if [[ -n ${ucache} ]] ; then
+ myconf+=( "--enable-hcache" )
else
- myconf="${myconf} --disable-hcache \
- --without-tokyocabinet --without-qdbm --without-gdbm --without-bdb"
+ myconf+=( "--disable-hcache" )
fi
+ for hcache in "${hcaches[@]}" ; do
+ [[ ${hcache} == ${ucache} ]] \
+ && myconf+=( "--with-${hcache#*:}" ) \
+ || myconf+=( "--without-${hcache#*:}" )
+ done
# there's no need for gnutls, ssl or sasl without socket support
if use pop || use imap || use smtp ; then
if use gnutls; then
- myconf="${myconf} --with-gnutls"
+ myconf+=( "--with-gnutls" )
elif use ssl; then
- myconf="${myconf} --with-ssl"
+ myconf+=( "--with-ssl" )
fi
# not sure if this should be mutually exclusive with the other two
- myconf="${myconf} $(use_with sasl)"
+ myconf+=( "$(use_with sasl)" )
else
- myconf="${myconf} --without-gnutls --without-ssl --without-sasl"
+ myconf+=(
+ "--without-gnutls"
+ "--without-ssl"
+ "--without-sasl"
+ )
fi
if use mbox; then
- myconf="${myconf} --with-mailpath=${EPREFIX}/var/spool/mail"
+ myconf+=( "--with-mailpath=${EPREFIX}/var/spool/mail" )
else
- myconf="${myconf} --with-homespool=Maildir"
+ myconf+=( "--with-homespool=Maildir" )
fi
- econf ${myconf} || die "configure failed"
+ econf "${myconf[@]}" || die "configure failed"
}
src_install() {
next reply other threads:[~2016-10-13 16:06 UTC|newest]
Thread overview: 258+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 16:06 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-20 4:20 [gentoo-commits] repo/gentoo:master commit in: mail-client/mutt/ Sam James
2025-02-23 8:32 Fabian Groffen
2025-02-23 1:45 Sam James
2024-12-04 9:15 Sam James
2024-12-02 13:15 Jakov Smolić
2024-12-01 19:57 Arthur Zamarin
2024-12-01 19:57 Arthur Zamarin
2024-12-01 19:03 Arthur Zamarin
2024-12-01 19:02 Arthur Zamarin
2024-03-22 9:01 Fabian Groffen
2024-01-27 6:32 Sam James
2023-11-23 7:54 Fabian Groffen
2023-11-22 11:16 Arthur Zamarin
2023-11-20 8:24 Sam James
2023-11-20 8:24 Sam James
2023-11-20 8:24 Sam James
2023-11-20 8:24 Sam James
2023-11-20 8:24 Sam James
2023-09-10 10:52 Fabian Groffen
2023-08-19 16:03 Fabian Groffen
2023-08-04 21:07 Arthur Zamarin
2023-04-25 11:56 Arthur Zamarin
2023-04-25 11:55 Sam James
2023-04-25 11:36 Arthur Zamarin
2023-04-25 11:36 Arthur Zamarin
2023-04-25 9:37 Arthur Zamarin
2023-03-26 11:18 Fabian Groffen
2022-11-19 7:48 Fabian Groffen
2022-11-06 19:46 Fabian Groffen
2022-11-06 11:53 Fabian Groffen
2022-08-09 19:05 Fabian Groffen
2022-06-06 11:43 Fabian Groffen
2022-05-25 11:56 Fabian Groffen
2022-05-03 14:05 Fabian Groffen
2022-04-28 22:56 Yixun Lan
2022-04-27 15:49 Fabian Groffen
2022-04-27 4:34 Arthur Zamarin
2022-04-19 16:43 Arthur Zamarin
2022-04-19 13:46 Jakov Smolić
2022-04-19 13:35 Arthur Zamarin
2022-04-19 12:13 Arthur Zamarin
2022-04-19 8:53 Jakov Smolić
2022-04-15 6:59 Fabian Groffen
2022-03-28 10:03 Fabian Groffen
2022-02-20 8:29 Fabian Groffen
2022-02-13 9:51 Fabian Groffen
2021-12-31 9:57 Fabian Groffen
2021-12-13 7:03 Fabian Groffen
2021-09-23 6:03 Fabian Groffen
2021-08-26 5:14 Fabian Groffen
2021-07-13 17:02 Fabian Groffen
2021-06-13 10:31 Fabian Groffen
2021-05-07 13:42 Fabian Groffen
2021-05-07 13:33 Sam James
2021-05-06 21:22 Sam James
2021-05-06 21:20 Sam James
2021-05-06 15:30 Sergei Trofimovich
2021-05-06 10:06 Sam James
2021-05-06 10:04 Sam James
2021-05-04 20:08 Fabian Groffen
2021-04-30 23:27 Sam James
2021-04-29 18:00 Mikle Kolyada
2021-03-07 12:06 Fabian Groffen
2021-01-25 7:26 Fabian Groffen
2021-01-24 22:04 Sam James
2021-01-24 22:04 Sam James
2021-01-24 21:51 Sam James
2021-01-24 20:06 Sam James
2021-01-24 11:58 Agostino Sarubbo
2021-01-22 9:32 Fabian Groffen
2021-01-18 8:48 Fabian Groffen
2021-01-06 13:49 Fabian Groffen
2020-12-31 8:58 Fabian Groffen
2020-12-06 10:45 Fabian Groffen
2020-11-26 22:59 Sergei Trofimovich
2020-11-26 8:32 Sam James
2020-11-26 6:56 Agostino Sarubbo
2020-11-25 12:15 Agostino Sarubbo
2020-11-25 12:14 Agostino Sarubbo
2020-11-25 12:13 Agostino Sarubbo
2020-11-25 10:28 Thomas Deutschmann
2020-11-20 18:59 Fabian Groffen
2020-11-09 9:53 Fabian Groffen
2020-09-06 7:50 Fabian Groffen
2020-07-10 10:54 Sam James
2020-06-25 9:42 Fabian Groffen
2020-06-25 9:08 Fabian Groffen
2020-06-25 7:00 Agostino Sarubbo
2020-06-22 18:23 Sergei Trofimovich
2020-06-22 7:01 Agostino Sarubbo
2020-06-22 7:00 Agostino Sarubbo
2020-06-22 7:00 Agostino Sarubbo
2020-06-21 7:47 Fabian Groffen
2020-06-20 18:59 Sergei Trofimovich
2020-06-20 13:48 Thomas Deutschmann
2020-06-19 7:01 Fabian Groffen
2020-06-17 20:36 Sergei Trofimovich
2020-06-16 16:41 Sergei Trofimovich
2020-06-15 19:49 Fabian Groffen
2020-05-26 7:11 Fabian Groffen
2020-05-14 18:11 Fabian Groffen
2020-05-04 7:09 Fabian Groffen
2020-03-31 17:05 Fabian Groffen
2020-03-31 7:22 Agostino Sarubbo
2020-03-31 7:20 Agostino Sarubbo
2020-03-31 7:19 Agostino Sarubbo
2020-03-31 7:18 Agostino Sarubbo
2020-03-30 20:50 Sergei Trofimovich
2020-03-30 15:13 Agostino Sarubbo
2020-03-30 7:17 Fabian Groffen
2020-03-06 7:25 Fabian Groffen
2020-03-06 7:25 Fabian Groffen
2020-02-16 13:33 Fabian Groffen
2020-01-31 8:08 Michał Górny
2019-12-18 8:05 Fabian Groffen
2019-12-15 9:26 Fabian Groffen
2019-12-01 9:34 Fabian Groffen
2019-11-14 8:53 Fabian Groffen
2019-11-04 18:59 Fabian Groffen
2019-11-03 13:47 Fabian Groffen
2019-11-03 10:21 Fabian Groffen
2019-10-31 12:44 Fabian Groffen
2019-09-26 7:45 Fabian Groffen
2019-09-15 15:37 Fabian Groffen
2019-08-11 8:45 Michał Górny
2019-06-17 17:13 Fabian Groffen
2019-05-29 14:03 Fabian Groffen
2019-03-13 14:12 Fabian Groffen
2019-02-02 12:46 Fabian Groffen
2019-01-10 18:05 Fabian Groffen
2019-01-08 8:48 Fabian Groffen
2019-01-06 20:42 Fabian Groffen
2019-01-05 19:21 Fabian Groffen
2019-01-04 10:52 Sergei Trofimovich
2019-01-02 10:54 Fabian Groffen
2018-12-02 18:16 Fabian Groffen
2018-11-27 12:34 Fabian Groffen
2018-10-31 9:01 Fabian Groffen
2018-09-19 2:57 Fabian Groffen
2018-09-08 20:25 Sergei Trofimovich
2018-08-14 16:02 Alon Bar-Lev
2018-07-23 8:24 Tobias Klausmann
2018-07-22 19:41 Mikle Kolyada
2018-07-22 9:01 Sergei Trofimovich
2018-07-20 22:48 Sergei Trofimovich
2018-07-20 22:40 Thomas Deutschmann
2018-07-20 8:08 Sergei Trofimovich
2018-07-19 20:15 Sergei Trofimovich
2018-07-19 10:07 Agostino Sarubbo
2018-07-16 18:34 Fabian Groffen
2018-05-25 4:28 Matt Turner
2018-05-25 4:28 Matt Turner
2018-05-23 14:35 Fabian Groffen
2018-04-20 5:50 Mikle Kolyada
2018-04-18 7:05 Sergei Trofimovich
2018-04-16 20:25 Fabian Groffen
2018-04-12 19:07 Thomas Deutschmann
2018-04-08 8:53 Sergei Trofimovich
2018-04-08 7:37 Fabian Groffen
2018-04-06 17:13 Tobias Klausmann
2018-04-06 16:08 Aaron Bauman
2018-04-01 7:12 Fabian Groffen
2018-03-10 14:58 Fabian Groffen
2018-02-10 15:26 Fabian Groffen
2018-02-10 9:39 Fabian Groffen
2018-02-09 20:37 Fabian Groffen
2018-01-07 13:12 Fabian Groffen
2017-12-31 14:48 Fabian Groffen
2017-12-30 10:11 Fabian Groffen
2017-12-16 20:58 Fabian Groffen
2017-12-16 14:02 Fabian Groffen
2017-12-16 13:08 Fabian Groffen
2017-12-14 7:47 Fabian Groffen
2017-12-10 16:31 Fabian Groffen
2017-12-10 13:46 Nicolas Bock
2017-12-10 10:58 Fabian Groffen
2017-12-02 11:24 Fabian Groffen
2017-12-02 11:22 Fabian Groffen
2017-10-19 6:07 Fabian Groffen
2017-09-24 9:15 Fabian Groffen
2017-09-21 8:17 Fabian Groffen
2017-09-12 10:50 Fabian Groffen
2017-09-11 18:17 Fabian Groffen
2017-09-09 19:14 Fabian Groffen
2017-07-10 16:51 Fabian Groffen
2017-06-25 8:02 Sergei Trofimovich
2017-06-17 17:24 Agostino Sarubbo
2017-06-16 14:10 Agostino Sarubbo
2017-06-04 8:05 Fabian Groffen
2017-04-21 7:34 Fabian Groffen
2017-04-19 19:44 Fabian Groffen
2017-04-19 12:07 Fabian Groffen
2017-04-13 17:34 Fabian Groffen
2017-03-26 15:05 Fabian Groffen
2017-03-10 14:26 Michael Weber
2017-02-28 13:16 Fabian Groffen
2017-02-25 20:04 Fabian Groffen
2017-02-16 23:14 Michael Weber
2017-02-03 22:18 Jeroen Roovers
2017-02-03 20:19 Jeroen Roovers
2017-02-02 15:44 Fabian Groffen
2017-01-25 13:53 Fabian Groffen
2017-01-04 19:52 Fabian Groffen
2016-12-31 17:54 Mikle Kolyada
2016-12-21 21:34 Thomas Deutschmann
2016-12-11 12:50 Fabian Groffen
2016-12-07 18:57 Fabian Groffen
2016-12-07 18:51 Fabian Groffen
2016-12-07 6:42 Jason Zaman
2016-12-05 9:10 Fabian Groffen
2016-11-28 6:43 Fabian Groffen
2016-11-27 21:04 Fabian Groffen
2016-11-27 21:04 Fabian Groffen
2016-11-17 20:38 Fabian Groffen
2016-11-04 20:35 Fabian Groffen
2016-10-19 16:15 Fabian Groffen
2016-10-13 16:06 Fabian Groffen
2016-10-13 16:06 Fabian Groffen
2016-10-13 16:06 Fabian Groffen
2016-10-13 16:06 Fabian Groffen
2016-10-09 17:49 Fabian Groffen
2016-09-23 8:04 Fabian Groffen
2016-09-18 13:17 Fabian Groffen
2016-09-13 8:08 Fabian Groffen
2016-09-06 7:48 Fabian Groffen
2016-09-04 15:04 Fabian Groffen
2016-09-04 12:59 Fabian Groffen
2016-09-01 13:08 Fabian Groffen
2016-08-22 9:33 Fabian Groffen
2016-07-10 15:23 Fabian Groffen
2016-07-09 15:48 Fabian Groffen
2016-07-04 17:02 Tobias Klausmann
2016-06-30 7:15 Fabian Groffen
2016-06-28 17:18 Fabian Groffen
2016-06-16 12:20 Fabian Groffen
2016-06-13 8:25 Fabian Groffen
2016-06-13 8:21 Fabian Groffen
2016-06-11 13:15 Markus Meier
2016-05-15 10:15 Fabian Groffen
2016-05-02 9:30 Fabian Groffen
2016-04-18 7:23 Fabian Groffen
2016-04-17 20:15 Fabian Groffen
2016-04-12 18:57 Fabian Groffen
2016-04-12 18:57 Fabian Groffen
2016-04-05 15:52 Fabian Groffen
2016-04-04 14:15 Fabian Groffen
2016-02-03 14:47 Tobias Klausmann
2016-01-24 6:50 Jeroen Roovers
2016-01-20 14:12 Patrice Clement
2015-12-03 22:40 Michał Górny
2015-10-04 21:28 Julian Ospald
2015-09-06 15:50 Fabian Groffen
2015-09-05 8:15 Fabian Groffen
2015-09-02 19:44 Fabian Groffen
2015-08-25 18:32 Fabian Groffen
2015-08-24 17:25 Fabian Groffen
2015-08-23 7:20 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476374780.69844c31d2cd0f140dc003cbe3c6d2dee16325e7.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox