From 16cdacddab8aa0b68857a743f3e7acfecd6bb490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 29 Apr 2019 13:24:50 +0200 Subject: [PATCH] libimobiledevice: hint large file support for cross --- srcpkgs/libimobiledevice/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/libimobiledevice/template b/srcpkgs/libimobiledevice/template index 1d567c7d9a6..a699e64a891 100644 --- a/srcpkgs/libimobiledevice/template +++ b/srcpkgs/libimobiledevice/template @@ -5,17 +5,18 @@ revision=12 patch_args="-Np1" build_style=gnu-configure hostmakedepends="automake libtool pkg-config python-devel" -makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel" -short_desc="A library to communicate with Apple devices" +makedepends="python-devel libglib-devel libressl-devel libusb-devel + libplist-devel libusbmuxd-devel" +short_desc="Library to communicate with Apple devices" maintainer="Juan RP " license="GPL-2,LGPL-2.1" homepage="http://www.libimobiledevice.org/" distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2" checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037 -case "$XBPS_TARGET_MACHINE" in - aarch64) configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes";; -esac +if [ "$CROSS_BUILD" ]; then + configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes" +fi pre_configure() { sed -i 's,SSLv3_,SSLv23_,g' src/idevice.c