update build-neomutt

Thu, 21 Dec 2017 19:56:48 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 21 Dec 2017 19:56:48 -0500
changeset 663
0f2e760661e8
parent 662
07cc0c3f1076
child 664
66ba2d649859

update build-neomutt

bin/setup-neomutt file | annotate | diff | comparison | revisions
--- a/bin/setup-neomutt
+++ b/bin/setup-neomutt
@@ -18,27 +18,26 @@ fi
 cd sandbox/neomutt
 
 PLATFORM="$(uname -s)"
+CONFIGURE_OPTIONS=''
 HCACHE="tokyocabinet"
 
 case "$PLATFORM" in
   Darwin)
     # Use macports' headers
-    OPENSSL_PREFIX=/opt/local
-    ;;
-  Cygwin)
-    HCACHE=lmdb
+    CONFIGURE_OPTIONS='--with-ssl=/opt/local --with-gpgme=/opt/local'
     ;;
 esac
 
-autoreconf -i --force
+autoreconf -i --force || true
 
-./configure -q \
+./configure \
  --with-mailpath=/var/spool/mail \
- --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \
- --with-sasl \
- --with-${HCACHE} \
- --enable-gpgme \
- --disable-doc --disable-po
+ --ssl \
+ --sasl \
+ --lmdb \
+ --gpgme \
+ $CONFIGURE_OPTIONS \
+ --disable-doc
 
 make -s -j3
 
@@ -63,7 +62,7 @@ neomutt build.
 =head2 Debian
 
   apt install autoconf links pandoc gnupg2 gpgsm urlscan libncursesw5-dev \
-    libssl-dev libsasl2-dev libtokyocabinet-dev libgpgme11-dev
+    libssl-dev libsasl2-dev liblmdb-dev libgpgme11-dev
 
 =head2 Cygwin / Babun
 

mercurial