1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Switch back to CFLAGS/LDFLAGS to fix configure in py-libimobiledevice

after r364564 [1]
- Convert to USES=libtool

Reported by:	antoine [1]
This commit is contained in:
Tijl Coosemans 2014-08-11 16:52:38 +00:00
parent 75c3c5e394
commit 13e9223889
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364626
3 changed files with 10 additions and 8 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= libimobiledevice
PORTVERSION= 1.1.5
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES?= comms
MASTER_SITES= http://www.${PORTNAME}.org/downloads/
@ -13,13 +13,14 @@ LICENSE?= LGPL21
SLAVE_PORT?= no
USES= pathfix pkgconfig tar:bzip2
USES= libtool pathfix pkgconfig tar:bzip2
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= openssl_CFLAGS="-I${OPENSSLINC}" \
openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.if ${SLAVE_PORT} == "no"

View File

@ -30,9 +30,9 @@ include/libimobiledevice/sbservices.h
include/libimobiledevice/screenshotr.h
include/libimobiledevice/webinspector.h
lib/libimobiledevice.a
lib/libimobiledevice.la
lib/libimobiledevice.so
lib/libimobiledevice.so.4
lib/libimobiledevice.so.4.0.1
libdata/pkgconfig/libimobiledevice-1.0.pc
man/man1/idevice_id.1.gz
man/man1/idevicebackup.1.gz

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= comms python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -21,11 +21,12 @@ BUILD_WRKSRC= ${WRKSRC}/cython
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.a \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.la \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.so
post-patch:
@${REINPLACE_CMD} -e 's,../src/libimobiledevice.la,${LOCALBASE}/lib/libimobiledevice.la,' \
@${REINPLACE_CMD} \
-e 's,../src/libimobiledevice.la,-limobiledevice,' \
-e 's/$$(imobiledevice_la_DEPENDENCIES)//' \
${BUILD_WRKSRC}/Makefile.in
.include "${MASTERDIR}/Makefile"