Changeset 135231


Ignore:
Timestamp:
Apr 19, 2015, 11:40:18 PM (4 years ago)
Author:
ryandesign@…
Message:

boost: update to 1.58.0

Location:
trunk/dports/devel/boost
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/boost/Portfile

    r134556 r135231  
    77
    88name            boost
    9 version         1.57.0
    10 revision        1
     9version         1.58.0
    1110license         Boost-1
    1211categories      devel
     
    2726use_bzip2       yes
    2827
    29 checksums       rmd160  8365f7c11e5ae088164ab1cb40ac624e76f8e72e \
    30                 sha256  910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967
     28checksums       rmd160  efc78b2b1a5d33ed72fcfa6688564c2fcd56772a \
     29                sha256  fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5
    3130
    3231depends_lib     port:zlib \
     
    3635                port:icu
    3736
     37post-extract {
     38    fs-traverse dir ${workpath} {
     39        if [file isdirectory ${dir}] {
     40            file attributes ${dir} -permissions a+rx
     41        }
     42    }
     43}
     44
    3845patchfiles      patch-tools-build-src-engine-build.sh.diff \
    3946                patch-tools-build-src-engine-build.jam.diff \
    4047                patch-bootstrap.sh.diff \
    41                 patch-apple-clang-no-libcxx.diff \
    42                 patch-boost-numeric-odeint-util-bind.hpp.diff \
    43                 patch-boost-signals2-trackable.hpp.diff
     48                patch-apple-clang-no-libcxx.diff
    4449                # patch-apple-clang-no-libcxx.diff fixes a clang configuration
    4550                # error that occurs on OS X 10.7 and 10.8 due to the assumption
     
    5156                # dependent package from using functions such as std::forward that
    5257                # are only available in libc++.  Fixes build of libcdr on these
    53                 # OS versions without effecting build on 10.6 and less (where clang is not
    54                 # the default compiler) and 10.9 and up where libc++ is the default.
    55                 #
    56                 # patch-boost-numeric-odeint-util-bind.hpp.diff and
    57                 # patch-boost-signals2-trackable.hpp.diff fix issues
    58                 # that have been fixed upstream and can be removed with the next
    59                 # release of boost.
     58                # OS versions without affecting build on 10.6 and less (where clang is not
     59                # the default compiler) or 10.9 and up (where libc++ is the default).
     60
    6061post-patch {
    6162    reinplace "s|%%CONFIGURE.CC%%|${configure.cc}|g" ${worksrcpath}/tools/build/src/engine/build.jam \
    6263                                                     ${worksrcpath}/tools/build/src/engine/build.sh
    63     # When building i386 code with apple-gcc-4.2, boost-1.50.0 adds a '-march=i386' compiler flag
    64     # which breaks the atomic intrinsics. The earliest 32-bit intel processors that Apple made
    65     # were the Core Solo and Core Duo, so we use the "prescott" architecture for them as per
    66     # (http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Intel_Core_Solo.2FDuo.2C_Pentium_Dual-Core_T20xx.2FT21xx)
    67     # to fix broken 32-bit builds as per (https://trac.macports.org/ticket/35172).
    68     reinplace "s|-march=i386|-march=prescott|g" ${worksrcpath}/tools/build/src/tools/gcc.jam
    6964}
    7065
     
    9590                    --with-icu=${prefix}
    9691
    97 platform powerpc {
    98     configure.args-append   --without-libraries=context \
    99                             --without-libraries=coroutine
    100 }
    101 
    10292if {${os.platform} eq "darwin" && ${os.major} <= 10} {
    10393    configure.args-append   --without-libraries=context \
     
    125115
    126116}
    127 
    128 # Ever since the tickets #28878 and #23531 disabled parallel builds, boost has
    129 # had many releases. We enable parallel builds back but can disable again if
    130 # problems arise.
    131 # use_parallel_build no
    132117
    133118build.cmd       ${worksrcpath}/b2
     
    153138
    154139pre-destroot {
    155     eval destroot.args ${build.args} --prefix=${destroot}${prefix}
     140    destroot.args {*}${build.args} --prefix=${destroot}${prefix}
    156141    system "find ${worksrcpath} -type f -name '*.gch' -exec rm {} \\;"
    157142}
Note: See TracChangeset for help on using the changeset viewer.