commit c1dda255e959be7dde45f3ce498153347a9dba73
parent ff8ddc400ae90ad47198aa7ea66a7372d5bf414c
Author: aabacchus <ben@bvnf.space>
Date: Tue, 31 Aug 2021 22:40:28 +0100
neomutt: gnutls -> openssl; fixes
post-install: remove (unnecessary)
build: switch `install -t` to mkdir; cp
build: support building with netbsd-curses as ncurses
build: gdbm -> lmdb
Diffstat:
3 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/neomutt/build b/neomutt/build
@@ -1,13 +1,15 @@
#!/bin/sh -e
+# enable building with netbsd-curses
+sed -i 's/tinfow tinfo/tinfow tinfo terminfo/g' auto.def
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--ssl \
--sasl \
- --gnutls \
--gpgme \
- --gdbm \
+ --lmdb \
--disable-nls \
--disable-idn \
--disable-doc \
@@ -22,11 +24,15 @@ make DESTDIR="$1" install
# ./configure without --disable-doc) but this requires an internet
# connection (!?), so I've included them as local sources. The other
# ones are provided in the tarball.
-install -Dm644 -t "$1/usr/share/man/man1/" \
- docs/neomutt.1 \
- docs/pgpewrap.1 \
- docs/smime_keys.1
-install -Dm644 -t "$1/usr/share/man/man5/" \
- docs/neomuttrc.5 \
- docs/mbox.5 \
- docs/mmdf.5
+mkdir -p \
+ "$1/usr/share/man/man1" \
+ "$1/usr/share/man/man5"
+
+cp -f docs/neomutt.1 \
+ docs/pgpewrap.1 \
+ docs/smime_keys.1 \
+ "$1/usr/share/man/man1/"
+cp -f docs/neomuttrc.5 \
+ docs/mbox.5 \
+ docs/mmdf.5 \
+ "$1/usr/share/man/man5/"
diff --git a/neomutt/depends b/neomutt/depends
@@ -1,9 +1,9 @@
cyrus-sasl
-gdbm
-gnutls
gpgme
libassuan
libgpg-error
+lmdb
ncurses
+openssl
zlib
zstd
diff --git a/neomutt/post-install b/neomutt/post-install
@@ -1,5 +0,0 @@
-#!/bin/sh -e
-
-cat << EOF
-You can find some sample neomuttrc files in /usr/share/doc/neomutt/samples.
-EOF