diff --git a/srcpkgs/libimobiledevice/template b/srcpkgs/libimobiledevice/template index 1d567c7d9a..a699e64a89 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