bin/setup-neomutt

changeset 388
50ed49b3d1dc
parent 366
8d2d058ea98b
child 392
50353728ea83
--- 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