Changeset 98435
- Timestamp:
- Oct 5, 2012, 5:03:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/boost/Portfile
r98344 r98435 69 69 configure.universal_args 70 70 71 # It turns out that ccache and distcc can produce boost libraries that, although they 72 # compile without warning, have all sorts of runtime errors especially with pointer corruption. 73 # Since most people will now use MacPorts' pre-compiled boost, this should not be a problem. 74 configure.ccache no 75 configure.distcc no 76 71 77 post-configure { 72 73 78 reinplace -E "s|-install_name \"|&${prefix}/lib/|" \ 74 79 ${worksrcpath}/tools/build/v2/tools/darwin.jam 75 76 # Modified from 'portconfigure.tcl':77 # set pre-compiler filter to use (ccache/distcc), if any.78 if {[tbool configure.ccache] && [tbool configure.distcc]} {79 set filter "ccache "80 ui_msg "Warning: boost does not support distcc with ccache"81 } elseif {[tbool configure.ccache]} {82 set filter "ccache "83 } elseif {[tbool configure.distcc]} {84 set filter "distcc "85 } else {86 set filter ""87 }88 # should support different SDKs (https://trac.macports.org/ticket/33085)89 write_jam "using darwin : : ${filter}${configure.cxx} ;"90 91 80 } 92 81 … … 139 128 } 140 129 141 set pythons_suffixes {25 26 27 31 32 }130 set pythons_suffixes {25 26 27 31 32 33} 142 131 143 132 set pythons_ports {} … … 162 151 set i [lsearch -exact ${pythons_ports} ${p}] 163 152 set c [lreplace ${pythons_ports} ${i} ${i}] 153 # python 3k conflicts with openmpi (https://svn.boost.org/trac/boost/ticket/4657) 154 if { ${s} > 30 } { set o "openmpi" } else { set o "" } 164 155 eval [subst { 165 variant ${p} description "Build Boost.Python for Python ${v}" conflicts ${c} debug {156 variant ${p} description "Build Boost.Python for Python ${v}" conflicts ${c} ${o} debug { 166 157 167 158 # There is a conflict with python and debug support, so we should really change the 'variant' line above
Note: See TracChangeset
for help on using the changeset viewer.