Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 13:30:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193093] multimedia/libmtp: update to 1.1.8
Message-ID:  <bug-193093-13-lsbe5M5EUp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193093-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193093-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193093

Jan Beich <jbeich@vfemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #146444|0                           |1
        is obsolete|                            |

--- Comment #5 from Jan Beich <jbeich@vfemail.net> ---
Created attachment 146447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146447&action=edit
update, v1.2

cosmetic fix to pkg-config output, on 9.x it now matches 10.x

$ pkg-config --static --libs libmtp
-lmtp -lusb -lgcrypt -L/usr/local/lib

--- v1.1
+++ v1.2
@@ -46,7 +46,7 @@ Index: multimedia/libmtp/Makefile
 -        '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
 +        '/LIBUSB_REQUIRES/s|libusb-1.0||' ${WRKSRC}/configure
      @${REINPLACE_CMD} -e \
-+        '/Libs.private/s|$$| -lusb|' ${WRKSRC}/libmtp.pc.in
++        '/Libs.private/s|:|& @LIBUSB_LIBS@|' ${WRKSRC}/libmtp.pc.in
 +.endif
 +    @${REINPLACE_CMD} -e \
          '/if test/s|==|=| ; \

or

--- libmtp.pc  9.3R
+++ libmtp.pc 10.0R
@@ -8,8 +8,8 @@ includedir=${prefix}/include
 Name: libmtp
 Description: libmtp is a library for accessing Media Transfer Protocol devices
 Version: 1.1.8
-Requires.private: 
+Requires.private: libusb-1.0
 Conflicts:
 Libs: -L${libdir} -lmtp
-Libs.private: -lusb -lgcrypt -L/usr/local/lib
+Libs.private: -lgcrypt -L/usr/local/lib
 Cflags: -I${includedir}

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193093-13-lsbe5M5EUp>