diff --git a/srcpkgs/nmh/template b/srcpkgs/nmh/template index 529e7d18d3..c018b29919 100644 --- a/srcpkgs/nmh/template +++ b/srcpkgs/nmh/template @@ -1,7 +1,7 @@ # Template file for 'nmh' pkgname=nmh version=1.6 -revision=4 +revision=5 build_style=gnu-configure configure_args="--sysconfdir=/etc/nmh --libdir=/usr/libexec/nmh --with-cyrus-sasl --with-tls" makedepends="ncurses-devel db-devel libsasl-devel libressl-devel" @@ -39,6 +39,10 @@ homepage="http://www.nongnu.org/nmh/" distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-1.6.tar.gz" checksum=29338ae2bc8722fe8a5904b7b601a63943b72b07b6fcda53f3a354edb6a64bc3 +pre_build() { + make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" sbr/ctype-checked.h +} + post_install() { vlicense COPYRIGHT LICENSE }