Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 16:52:38 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364626 - in head/comms: libimobiledevice py-libimobiledevice
Message-ID:  <53e8f4d7.23bb.7b169832@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Aug 11 16:52:38 2014
New Revision: 364626
URL: http://svnweb.freebsd.org/changeset/ports/364626
QAT: https://qat.redports.org/buildarchive/r364626/

Log:
  - Switch back to CFLAGS/LDFLAGS to fix configure in py-libimobiledevice
    after r364564 [1]
  - Convert to USES=libtool
  
  Reported by:	antoine [1]

Modified:
  head/comms/libimobiledevice/Makefile
  head/comms/libimobiledevice/pkg-plist
  head/comms/py-libimobiledevice/Makefile

Modified: head/comms/libimobiledevice/Makefile
==============================================================================
--- head/comms/libimobiledevice/Makefile	Mon Aug 11 16:27:51 2014	(r364625)
+++ head/comms/libimobiledevice/Makefile	Mon Aug 11 16:52:38 2014	(r364626)
@@ -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"
 

Modified: head/comms/libimobiledevice/pkg-plist
==============================================================================
--- head/comms/libimobiledevice/pkg-plist	Mon Aug 11 16:27:51 2014	(r364625)
+++ head/comms/libimobiledevice/pkg-plist	Mon Aug 11 16:52:38 2014	(r364626)
@@ -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

Modified: head/comms/py-libimobiledevice/Makefile
==============================================================================
--- head/comms/py-libimobiledevice/Makefile	Mon Aug 11 16:27:51 2014	(r364625)
+++ head/comms/py-libimobiledevice/Makefile	Mon Aug 11 16:52:38 2014	(r364626)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e8f4d7.23bb.7b169832>