aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2012-10-30 21:21:27 +0800
committermadpilot <madpilot@FreeBSD.org>2012-10-30 21:21:27 +0800
commita5cff221318c10abd67a79acac525d6b28748a57 (patch)
tree44786e7dfebf67540eeefd1abfbe87cc29932ffc /audio
parent597e2109bc85690620bbb3b5ef034816dedce8cc (diff)
downloadfreebsd-ports-gnome-a5cff221318c10abd67a79acac525d6b28748a57.tar.gz
freebsd-ports-gnome-a5cff221318c10abd67a79acac525d6b28748a57.tar.zst
freebsd-ports-gnome-a5cff221318c10abd67a79acac525d6b28748a57.zip
- 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
Diffstat (limited to 'audio')
-rw-r--r--audio/libmtp/Makefile15
-rw-r--r--audio/libmtp/distinfo4
2 files changed, 9 insertions, 10 deletions
diff --git a/audio/libmtp/Makefile b/audio/libmtp/Makefile
index c32a71eff01a..00bf3b0678bb 100644
--- a/audio/libmtp/Makefile
+++ b/audio/libmtp/Makefile
@@ -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>
diff --git a/audio/libmtp/distinfo b/audio/libmtp/distinfo
index 9cab76820bb4..e15993991ca7 100644
--- a/audio/libmtp/distinfo
+++ b/audio/libmtp/distinfo
@@ -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