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

adfernandes at macports.org adfernandes at macports.org
Wed Oct 20 15:10:30 PDT 2010


Revision: 72562
          http://trac.macports.org/changeset/72562
Author:   adfernandes at macports.org
Date:     2010-10-20 15:10:27 -0700 (Wed, 20 Oct 2010)
Log Message:
-----------
devel/boost; add no_static and no_single variants to reduce build time for power users; closes #26466

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

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2010-10-20 21:43:38 UTC (rev 72561)
+++ trunk/dports/devel/boost/Portfile	2010-10-20 22:10:27 UTC (rev 72562)
@@ -159,6 +159,15 @@
     build.args-append   -sICU_PATH=${prefix}
 }
 
+variant no_static description {Disable building static libraries} {
+    build.args-append   link=shared
+}
+
+variant no_single description {Disable building single threaading libraries} {
+    build.args-delete   threading=single,multi
+    build.args-append   threading=multi
+}
+
 variant openmpi description {Build Boost.MPI} conflicts debug {
     # Cannot build debug variants with openmpi and python variants as per the following:
     # <http://trac.macports.org/ticket/23667> and <https://svn.boost.org/trac/boost/ticket/4461>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101020/fcf1eae8/attachment.html>


More information about the macports-changes mailing list