[42112] trunk/dports/devel/libusb/Portfile

illogic-al at macports.org illogic-al at macports.org
Sat Nov 15 05:32:27 PST 2008


Revision: 42112
          http://trac.macports.org/changeset/42112
Author:   illogic-al at macports.org
Date:     2008-11-15 05:32:27 -0800 (Sat, 15 Nov 2008)
Log Message:
-----------
Fix libusb to compile with +universal. Fixes ticket #17185. Maintainer timeout.

Modified Paths:
--------------
    trunk/dports/devel/libusb/Portfile

Modified: trunk/dports/devel/libusb/Portfile
===================================================================
--- trunk/dports/devel/libusb/Portfile	2008-11-15 13:27:08 UTC (rev 42111)
+++ trunk/dports/devel/libusb/Portfile	2008-11-15 13:32:27 UTC (rev 42112)
@@ -18,3 +18,10 @@
 configure.args   --disable-build-docs
 
 patchfiles       patch-darwin.c.diff
+
+post-configure {
+    if {[variant_isset universal]} {
+        reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
+    }
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081115/4a42663b/attachment.html>


More information about the macports-changes mailing list