gpgme: fix large file support on 32-bit archs.

This commit is contained in:
Christian Neukirchen 2016-10-02 11:50:27 +02:00
parent 5e6e39e9c6
commit 10da42d561

View File

@ -1,7 +1,7 @@
# Template file for 'gpgme'
pkgname=gpgme
version=1.7.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-fd-passing --disable-gpgconf-test
--disable-gpg-test --disable-gpgsm-test
@ -16,6 +16,11 @@ homepage="http://www.gnupg.org/related_software/gpgme/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$version.tar.bz2"
checksum=71f55fed0f2b3eaf7a606e59772aa645ce3ffff322d361ce359951b3f755cc48
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" ac_cv_sys_file_offset_bits=no";;
i686*) CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1";;
esac
gpgme-devel_package() {
depends="${makedepends} gpgme>=${version}_${revision}"
short_desc+=" - development files"