[108424] trunk/dports/devel/boost/Portfile

jmr at macports.org jmr at macports.org
Mon Jul 22 23:49:36 PDT 2013


Revision: 108424
          https://trac.macports.org/changeset/108424
Author:   jmr at macports.org
Date:     2013-07-22 23:49:36 -0700 (Mon, 22 Jul 2013)
Log Message:
-----------
boost: add compiler dep for base 2.1

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

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2013-07-23 06:48:12 UTC (rev 108423)
+++ trunk/dports/devel/boost/Portfile	2013-07-23 06:49:36 UTC (rev 108424)
@@ -65,6 +65,16 @@
     compiler.blacklist-append clang
 }
 
+# TODO: Remove this block once 2.2 is released
+if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
+    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
+
+    # base 2.1.x ignores the argument and just use ${configure.compiler}
+    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
+        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
+    }
+}
+
 # It turns out that ccache and distcc can produce boost libraries that, although they
 # compile without warning, have all sorts of runtime errors especially with pointer corruption.
 # Since most people will now use MacPorts' pre-compiled boost, this should not be a problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130722/2684dbb9/attachment.html>


More information about the macports-changes mailing list