[110585] trunk/dports/devel/cyassl/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 10:06:04 PDT 2013


Revision: 110585
          https://trac.macports.org/changeset/110585
Author:   jeremyhu at macports.org
Date:     2013-09-02 10:06:04 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
cyassl: Fix bad inline asm to build with clang

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

Modified: trunk/dports/devel/cyassl/Portfile
===================================================================
--- trunk/dports/devel/cyassl/Portfile	2013-09-02 16:59:04 UTC (rev 110584)
+++ trunk/dports/devel/cyassl/Portfile	2013-09-02 17:06:04 UTC (rev 110585)
@@ -42,7 +42,11 @@
                     --enable-crl \
                     --enable-crl-monitor
 
-compiler.blacklist  clang
+post-patch {
+    if {[string match "*clang*" ${configure.compiler}]} {
+        reinplace "s|%cc|cc|g" ${worksrcpath}/ctaocrypt/src/asm.c
+    }
+}
 
 variant debug description {Enable CyaSSL debugging support} {
     configure.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/988db9f8/attachment.html>


More information about the macports-changes mailing list