network/neomutt: Fixed dep info; build with libidn2 by default

This commit is contained in:
Robby Workman 2021-04-19 22:10:38 -05:00
parent 32bc574e14
commit 29daa8714d
2 changed files with 6 additions and 7 deletions

View File

@ -8,12 +8,10 @@ Optional dependencies:
* notmuch - fast mail indexer for maildir
* kyotocabinet - straightforward implementation of DBM
* libidn2 - GNU IDN Library version 2
* lua53 - Powerful, fast, light-weight, embeddable scripting language
NOTE: this won't work if you have multiple versions of lua installed.
This script builds neomutt without optional support
for idn2, notmuch, lua and kyotocabinet.
You can be enabled with:
This script builds neomutt without optional support for notmuch, lua,
and kyotocabinet. You can enabled them with:
# USENOTMUCH=yes USEKYOTO=yes USEIDN2=yes USELUA=yes ./neomutt.SlackBuild
# USENOTMUCH=yes USEKYOTO=yes USELUA=yes ./neomutt.SlackBuild

View File

@ -60,7 +60,6 @@ fi
[ ${USELUA:-no} == 'yes' ] && LUA="--lua" || LUA=""
[ ${USEKYOTO:-no} == 'yes' ] && KYOTO="--kyotocabinet" || KYOTO=""
[ ${USENOTMUCH:-no} == 'yes' ] && NOTMUCH="--notmuch" || NOTMUCH=""
[ ${USEIDN2:-no} == 'yes' ] && IDN2="--idn2 --disable-idn" || IDN2=""
set -eu
@ -95,9 +94,11 @@ CXXFLAGS="$SLKCFLAGS" \
--locales-fix \
--sqlite \
--full-doc \
--idn2 \
--disable-idn \
--host=$ARCH-slackware-linux \
--build=$ARCH-slackware-linux \
$NOTMUCH $KYOTO $IDN2 $LUA
$NOTMUCH $KYOTO $LUA
make
make DESTDIR=$PKG install