imapfilter: fix build

This commit is contained in:
Đoàn Trần Công Danh 2020-11-20 23:59:17 +07:00
parent d96b6c4691
commit c8ec735b16
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pkgname=imapfilter
version=2.6.12
revision=5
build_style=gnu-makefile
make_build_args="DESTIDIR=${DESTDIR} PREFIX=/usr"
make_build_args="DESTIDIR=${DESTDIR} PREFIX=/usr LIBLUA=-llua5.3"
hostmakedepends="lua53-devel"
makedepends="pcre-devel lua53-devel libressl-devel"
short_desc="Mail filtering utility"
@ -13,6 +13,8 @@ homepage="https://github.com/lefcha/imapfilter"
distfiles="https://github.com/lefcha/imapfilter/archive/v${version}.tar.gz"
checksum=764a68c737e555d7b164644a4c491fd66cffb93d6077d58f502b94e1a022a884
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/lua5.3"
post_configure() {
sed -i \
-e '/^MANDIR/s:/man:/share/man:' \