[71141] trunk/dports/science/usrp/Portfile

michaelld at macports.org michaelld at macports.org
Thu Sep 2 07:37:11 PDT 2010


Revision: 71141
          http://trac.macports.org/changeset/71141
Author:   michaelld at macports.org
Date:     2010-09-02 07:37:09 -0700 (Thu, 02 Sep 2010)
Log Message:
-----------
Fix archcheck for libusb-legacy.

Modified Paths:
--------------
    trunk/dports/science/usrp/Portfile

Modified: trunk/dports/science/usrp/Portfile
===================================================================
--- trunk/dports/science/usrp/Portfile	2010-09-02 14:33:00 UTC (rev 71140)
+++ trunk/dports/science/usrp/Portfile	2010-09-02 14:37:09 UTC (rev 71141)
@@ -73,11 +73,7 @@
 variant libusb-legacy \
 description "Use LIBUSB legacy version for USB transport" {
     depends_lib-append     port:libusb-legacy
-    archcheck.files-append [exec find ${prefix}/lib/libusb-legacy \
-                                -name "libusb*.dylib" -type f | \
-                                grep -v pp | \
-                                sed -e "s@${prefix}/@@g"]
-
+    archcheck.files-append lib/libusb-legacy/libusb-legacy.dylib
     # fix LIBUSB search to include 'usb_debug' symbol, so-as
     # to avoid using the 'compat' library.
     patchfiles      patch-configure-libusb.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100902/fc6c2652/attachment.html>


More information about the macports-changes mailing list