nmh: fix cross build.

This commit is contained in:
Christian Neukirchen 2014-11-23 16:10:03 +01:00
parent 637db1f77d
commit ee470b5348

View file

@ -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
}