Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 13:21:27 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306674 - head/audio/libmtp
Message-ID:  <201210301321.q9UDLRBx098805@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Oct 30 13:21:27 2012
New Revision: 306674
URL: http://svn.freebsd.org/changeset/ports/306674

Log:
  - Update to 1.1.5
  - Trim Makefile headers
  - Mark pkgconfig as a build only dependency
  
  PR:		ports/171963
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Approved by:	tabthorpe (portmgr)
  Feature safe:	yes

Modified:
  head/audio/libmtp/Makefile   (contents, props changed)
  head/audio/libmtp/distinfo   (contents, props changed)

Modified: head/audio/libmtp/Makefile
==============================================================================
--- head/audio/libmtp/Makefile	Tue Oct 30 13:07:10 2012	(r306673)
+++ head/audio/libmtp/Makefile	Tue Oct 30 13:21:27 2012	(r306674)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	libmtp
-# Date created:							3 December 2006
-# Whom:								Petar Zhivkov Petrov (pesho.petrov@gmail.com)
-#
+# Created by: Petar Zhivkov Petrov <pesho.petrov@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	libmtp
-PORTVERSION=	1.1.4
+PORTVERSION=	1.1.5
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
@@ -23,7 +19,7 @@ USE_GNOME=	gnomehack
 USE_ICONV=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USE_PKGCONFIG=	yes
+USE_PKGCONFIG=	build
 MAKE_JOBS_SAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -51,8 +47,11 @@ post-patch:
 		'/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e \
 		'/if test/s|==|=| ; \
-		 /LIBUSB_REQUIRES/s|libusb-1.0||' ${WRKSRC}/configure
+		 /LIBUSB_REQUIRES/s|libusb-1.0|| ; \
+		 /endian.h/s|machine|sys|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e \
 		's|<libusb-1.0/|<|' ${WRKSRC}/src/libusb-glue.h
+	@${REINPLACE_CMD} -e \
+		's|__builtin_bswap|bswap|g' ${WRKSRC}/src/mtpz.c
 
 .include <bsd.port.post.mk>

Modified: head/audio/libmtp/distinfo
==============================================================================
--- head/audio/libmtp/distinfo	Tue Oct 30 13:07:10 2012	(r306673)
+++ head/audio/libmtp/distinfo	Tue Oct 30 13:21:27 2012	(r306674)
@@ -1,2 +1,2 @@
-SHA256 (libmtp-1.1.4.tar.gz) = 4c6c5cdb46959d9903e98c22e906407909b5bff996b7e1970dc2ee228e3e1460
-SIZE (libmtp-1.1.4.tar.gz) = 696838
+SHA256 (libmtp-1.1.5.tar.gz) = 787679171baf8b3cf2fcc03196c705ab4d7cbc969bd71f9d3696be1ce7f1c63a
+SIZE (libmtp-1.1.5.tar.gz) = 723925



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301321.q9UDLRBx098805>