libimobiledevice: unbreak for libressl-2.3.

This commit is contained in:
Juan RP 2016-04-01 05:42:07 +02:00
parent 111fc72583
commit c8e4048f85
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,6 @@
pkgname=libimobiledevice
version=1.2.0
revision=6
broken="idevice.c:681:2: warning: implicit declaration of function 'SSLv3_method'"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python-devel"
makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel"
@ -14,6 +13,7 @@ distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.b
checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037
pre_configure() {
sed -i 's,SSLv3_,SSLv23_,g' src/idevice.c
sed -i 's,-L$(libdir),,g' cython/Makefile.am
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"