Update for osx 10.11

Fri, 16 Sep 2016 12:12:59 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Sep 2016 12:12:59 -0400
changeset 388
50ed49b3d1dc
parent 387
d16b5c66461a
child 389
f42ffc750898

Update for osx 10.11

bin/setup-neomutt file | annotate | diff | comparison | revisions
--- a/bin/setup-neomutt
+++ b/bin/setup-neomutt
@@ -16,14 +16,20 @@ fi
 
 cd sandbox/neomutt
 
-./prepare \
+case "$OSTYPE" in
+  darwin*)
+    # Use macports' headers
+    OPENSSL_PREFIX=/opt/local
+    ;;
+esac
+
+./prepare -q \
  --with-homespool=/var/spool/mail \
- --enable-quick-build \
- --with-ssl --with-sasl \
+ --with-ssl${OPENSSL_PREFIX:+=$OPENSSL_PREFIX} \
+ --with-sasl \
  --enable-hcache \
  --enable-imap --enable-smtp \
- --with-regex \
-  >/dev/null
+ --with-regex
 
 make -s -j3
 

mercurial