gpgme: more generic template + fix on 32-bit ppc glibc
[ci skip]
This commit is contained in:
parent
0df9f83f0c
commit
71edfe3a16
|
@ -16,13 +16,13 @@ homepage="https://www.gnupg.org/software/gpgme/index.html"
|
||||||
distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2"
|
distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2"
|
||||||
checksum=c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46
|
checksum=c4e30b227682374c23cddc7fdb9324a99694d907e79242a25a4deeedb393be46
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) configure_args+=" ac_cv_sys_file_offset_bits=no";;
|
configure_args+=" ac_cv_sys_file_offset_bits=no"
|
||||||
i686*|arm*)
|
elif [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||||
CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
|
CFLAGS="-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1"
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1"
|
CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
|
Loading…
Reference in New Issue