jq: large file support

This commit is contained in:
Đoàn Trần Công Danh 2023-05-13 12:23:08 +07:00
parent b97a0f74c2
commit 122aca6008

View File

@ -1,7 +1,7 @@
# Template file for 'jq'
pkgname=jq
version=1.6
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="oniguruma-devel"
@ -12,6 +12,7 @@ license="MIT"
homepage="http://stedolan.github.io/jq/"
distfiles="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz"
checksum=5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72
CFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
pre_configure() {
vsed -i -e 's/-static-libtool-libs//' Makefile.am