fdm: update to 2.0.

This commit is contained in:
Leah Neukirchen 2019-02-14 11:52:37 +01:00
parent 7314d1ba0b
commit aef0721102
1 changed files with 4 additions and 15 deletions

View File

@ -1,10 +1,9 @@
# Template file for 'fdm'
pkgname=fdm
version=1.9
revision=8
version=2.0
revision=1
build_style=gnu-configure
CFLAGS="-DPCRE"
configure_args="ac_cv_func_strlcpy=no ac_cv_func_strlcat=no LIBS=-lpcre"
configure_args="ac_cv_func_strlcpy=no ac_cv_func_strlcat=no --enable-pcre"
hostmakedepends="automake bison"
makedepends="zlib-devel libressl-devel tdb-devel pcre-devel"
short_desc="Program to fetch and deliver mail"
@ -12,17 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://github.com/nicm/fdm"
distfiles="https://github.com/nicm/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=16416c38a9a7e32d187220cc5ae61a51463d5e4e47419c5c513f422523d39914
case "$XBPS_TARGET_MACHINE" in
*-musl)
CFLAGS+=" -DGLOB_BRACE=0 -DWAIT_ANY=-1 -DACCESSPERMS=0777"
post_extract() {
cp ${FILESDIR}/base64.c compat
echo "nodist_fdm_SOURCES += compat/base64.c" >>Makefile.am
autoreconf -fi
}
esac
checksum=06b28cb6b792570bc61d7e29b13d2af46b92fea77e058b2b17e11e8f7ed0cea4
post_install() {
vmkdir usr/share/doc/${pkgname}