[141985] trunk/dports/perl/p5-net-ssleay/Portfile

snc at macports.org snc at macports.org
Sat Dec 12 03:50:40 PST 2015


Revision: 141985
          https://trac.macports.org/changeset/141985
Author:   snc at macports.org
Date:     2015-11-01 09:42:42 -0800 (Sun, 01 Nov 2015)
Log Message:
-----------
p5-net-ssleay: fix build failure for unknown Clang arg

Modified Paths:
--------------
    trunk/dports/perl/p5-net-ssleay/Portfile

Modified: trunk/dports/perl/p5-net-ssleay/Portfile
===================================================================
--- trunk/dports/perl/p5-net-ssleay/Portfile	2015-11-01 17:11:36 UTC (rev 141984)
+++ trunk/dports/perl/p5-net-ssleay/Portfile	2015-11-01 17:42:42 UTC (rev 141985)
@@ -30,3 +30,10 @@
 
     configure.env   OPENSSL_PREFIX=${prefix}
 }
+
+# clang: error: unknown argument: '-fstack-protector-strong'
+if {[string match *clang* ${configure.compiler}]} {
+    post-configure {
+        reinplace -W ${worksrcpath} "s/ -fstack-protector-strong//g" Makefile
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/da2dcb57/attachment.html>


More information about the macports-changes mailing list