[115111] trunk/dports/archivers/dar/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Dec 25 00:26:16 PST 2013


Revision: 115111
          https://trac.macports.org/changeset/115111
Author:   ryandesign at macports.org
Date:     2013-12-25 00:26:16 -0800 (Wed, 25 Dec 2013)
Log Message:
-----------
dar: fix build when compiler is not clang (#41890)

Modified Paths:
--------------
    trunk/dports/archivers/dar/Portfile

Modified: trunk/dports/archivers/dar/Portfile
===================================================================
--- trunk/dports/archivers/dar/Portfile	2013-12-25 07:56:10 UTC (rev 115110)
+++ trunk/dports/archivers/dar/Portfile	2013-12-25 08:26:16 UTC (rev 115111)
@@ -29,7 +29,10 @@
                     port:openssl \
                     port:zlib
 
-patchfiles          patch-doc-Makefile.in.diff \
-                    patch-clang-compatibility.diff
+patchfiles          patch-doc-Makefile.in.diff
 
+if {[string match *clang* ${configure.compiler}]} {
+    patchfiles-append patch-clang-compatibility.diff
+}
+
 universal_variant	no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131225/a1c5afc4/attachment.html>


More information about the macports-changes mailing list