1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Backport patch to fix build of py-libimobiledevice.

Reported by:	pkg-fallout

- Adapt to LIB_DEPENDS change.
- Enable stage support.
This commit is contained in:
Alberto Villa 2013-10-14 01:43:16 +00:00
parent 4df098b82b
commit 1505b0ea37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330274
2 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- ./cython/lockdown.pxi.orig 2013-03-07 23:05:33.000000000 +0100
+++ ./cython/lockdown.pxi 2013-10-14 02:44:26.489878883 +0200
@@ -221,7 +221,7 @@
char* c_session_id = NULL
bint ssl_enabled
bytes session_id
- err = lockdownd_start_session(self._c_client, host_id, &c_session_id, &ssl_enabled)
+ err = lockdownd_start_session(self._c_client, host_id, &c_session_id, <int *>&ssl_enabled)
try:
self.handle_error(err)

View File

@ -7,7 +7,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= avilla@FreeBSD.org
COMMENT= Python bindings for libimobiledevice
LIB_DEPENDS= imobiledevice:${PORTSDIR}/${MASTER_PORT}
LIB_DEPENDS= libimobiledevice.so:${PORTSDIR}/${MASTER_PORT}
BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython \
${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
@ -24,7 +24,6 @@ PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.a \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.la \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.so
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,../src/libimobiledevice.la,${LOCALBASE}/lib/libimobiledevice.la,' \
${BUILD_WRKSRC}/Makefile.in