[69190] trunk/dports/multimedia/libmtp/Portfile

michaelld at macports.org michaelld at macports.org
Sun Jun 27 20:29:12 PDT 2010


Revision: 69190
          http://trac.macports.org/changeset/69190
Author:   michaelld at macports.org
Date:     2010-06-27 20:29:07 -0700 (Sun, 27 Jun 2010)
Log Message:
-----------
Bump to 1.0.3; current libusb-legacy dependency & how to find headers
and library.

Modified Paths:
--------------
    trunk/dports/multimedia/libmtp/Portfile

Modified: trunk/dports/multimedia/libmtp/Portfile
===================================================================
--- trunk/dports/multimedia/libmtp/Portfile	2010-06-28 00:30:50 UTC (rev 69189)
+++ trunk/dports/multimedia/libmtp/Portfile	2010-06-28 03:29:07 UTC (rev 69190)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -3,5 +4,5 @@
 
 name                libmtp
-version             1.0.2
+version             1.0.3
 categories          multimedia
 platforms           darwin
@@ -12,10 +13,15 @@
 
 homepage            http://libmtp.sourceforge.net/
 master_sites        sourceforge:libmtp
-checksums           md5     cdc1cc6afa6be287ff6bc331e71bdc47 \
-                    sha1    a3a1991e89b11ef4af98ee4f5a6d120158704ebe \
-                    rmd160  7c527a7a9d08d0cc8f28d9b121ec3ee33d24cce2
+checksums           md5     a972869860765476e52f2eba45f2b91e \
+                    sha1    3d237dc02e420d9ccb8f2539d2818b2f618eaf5f \
+                    rmd160  bbb58f231bc94638fa7200b6c083a9dddd14c0f4
 
-depends_lib         port:libusb
+# libmtp hard-wires in the search for the legacy libusb
+# have to include the various paths to the header and library manually
+compiler.cpath        ${prefix}/include/libusb-legacy:${compiler.cpath}
+compiler.library_path ${prefix}/lib/libusb-legacy:${compiler.library_path}
 
+depends_lib         port:libusb-legacy
+
 livecheck.version   ${name}-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100627/76f0729d/attachment-0001.html>


More information about the macports-changes mailing list