mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
tar: override year 2038 check for 32-bit arm*-musl.
This commit is contained in:
parent
ce108addf5
commit
b46904a9c1
1 changed files with 6 additions and 3 deletions
|
@ -12,12 +12,15 @@ homepage="https://www.gnu.org/software/tar/"
|
||||||
distfiles="${GNU_SITE}/tar/${pkgname}-${version}.tar.xz"
|
distfiles="${GNU_SITE}/tar/${pkgname}-${version}.tar.xz"
|
||||||
checksum=4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16
|
checksum=4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
arm*-musl)
|
||||||
|
# musl 1.1.x
|
||||||
|
configure_args+=" --disable-year2038";;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# chroot-style=ethereal
|
# chroot-style=ethereal
|
||||||
export FORCE_UNSAFE_CONFIGURE=1
|
export FORCE_UNSAFE_CONFIGURE=1
|
||||||
# avoid regenerating doc on install
|
# avoid regenerating doc on install
|
||||||
touch -r doc/stamp-vti configure
|
touch -r doc/stamp-vti configure
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; then
|
|
||||||
configure_args+=" --disable-year2038"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue