[135231] trunk/dports/devel/boost
ryandesign at macports.org
ryandesign at macports.org
Sun Apr 19 16:40:18 PDT 2015
Revision: 135231
https://trac.macports.org/changeset/135231
Author: ryandesign at macports.org
Date: 2015-04-19 16:40:18 -0700 (Sun, 19 Apr 2015)
Log Message:
-----------
boost: update to 1.58.0
Modified Paths:
--------------
trunk/dports/devel/boost/Portfile
Removed Paths:
-------------
trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff
trunk/dports/devel/boost/files/patch-boost-signals2-trackable.hpp.diff
Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile 2015-04-19 20:38:30 UTC (rev 135230)
+++ trunk/dports/devel/boost/Portfile 2015-04-19 23:40:18 UTC (rev 135231)
@@ -6,8 +6,7 @@
PortGroup mpi 1.0
name boost
-version 1.57.0
-revision 1
+version 1.58.0
license Boost-1
categories devel
platforms darwin
@@ -26,8 +25,8 @@
distname ${name}_${distver}
use_bzip2 yes
-checksums rmd160 8365f7c11e5ae088164ab1cb40ac624e76f8e72e \
- sha256 910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967
+checksums rmd160 efc78b2b1a5d33ed72fcfa6688564c2fcd56772a \
+ sha256 fdfc204fc33ec79c99b9a74944c3e54bd78be4f7f15e260c0e2700a36dc7d3e5
depends_lib port:zlib \
port:expat \
@@ -35,12 +34,18 @@
port:libiconv \
port:icu
+post-extract {
+ fs-traverse dir ${workpath} {
+ if [file isdirectory ${dir}] {
+ file attributes ${dir} -permissions a+rx
+ }
+ }
+}
+
patchfiles patch-tools-build-src-engine-build.sh.diff \
patch-tools-build-src-engine-build.jam.diff \
patch-bootstrap.sh.diff \
- patch-apple-clang-no-libcxx.diff \
- patch-boost-numeric-odeint-util-bind.hpp.diff \
- patch-boost-signals2-trackable.hpp.diff
+ patch-apple-clang-no-libcxx.diff
# patch-apple-clang-no-libcxx.diff fixes a clang configuration
# error that occurs on OS X 10.7 and 10.8 due to the assumption
# that if clang is the compiler in use it must be using libc++.
@@ -50,22 +55,12 @@
# is not. This flag is then used to prevent boost or a
# dependent package from using functions such as std::forward that
# are only available in libc++. Fixes build of libcdr on these
- # OS versions without effecting build on 10.6 and less (where clang is not
- # the default compiler) and 10.9 and up where libc++ is the default.
- #
- # patch-boost-numeric-odeint-util-bind.hpp.diff and
- # patch-boost-signals2-trackable.hpp.diff fix issues
- # that have been fixed upstream and can be removed with the next
- # release of boost.
+ # OS versions without affecting build on 10.6 and less (where clang is not
+ # the default compiler) or 10.9 and up (where libc++ is the default).
+
post-patch {
reinplace "s|%%CONFIGURE.CC%%|${configure.cc}|g" ${worksrcpath}/tools/build/src/engine/build.jam \
${worksrcpath}/tools/build/src/engine/build.sh
- # When building i386 code with apple-gcc-4.2, boost-1.50.0 adds a '-march=i386' compiler flag
- # which breaks the atomic intrinsics. The earliest 32-bit intel processors that Apple made
- # were the Core Solo and Core Duo, so we use the "prescott" architecture for them as per
- # (http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Intel_Core_Solo.2FDuo.2C_Pentium_Dual-Core_T20xx.2FT21xx)
- # to fix broken 32-bit builds as per (https://trac.macports.org/ticket/35172).
- reinplace "s|-march=i386|-march=prescott|g" ${worksrcpath}/tools/build/src/tools/gcc.jam
}
proc write_jam s {
@@ -94,11 +89,6 @@
--without-libraries=mpi \
--with-icu=${prefix}
-platform powerpc {
- configure.args-append --without-libraries=context \
- --without-libraries=coroutine
-}
-
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
configure.args-append --without-libraries=context \
--without-libraries=coroutine
@@ -125,11 +115,6 @@
}
-# Ever since the tickets #28878 and #23531 disabled parallel builds, boost has
-# had many releases. We enable parallel builds back but can disable again if
-# problems arise.
-# use_parallel_build no
-
build.cmd ${worksrcpath}/b2
build.target
build.args -d2 \
@@ -152,7 +137,7 @@
destroot.post_args
pre-destroot {
- eval destroot.args ${build.args} --prefix=${destroot}${prefix}
+ destroot.args {*}${build.args} --prefix=${destroot}${prefix}
system "find ${worksrcpath} -type f -name '*.gch' -exec rm {} \\;"
}
Deleted: trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff 2015-04-19 20:38:30 UTC (rev 135230)
+++ trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff 2015-04-19 23:40:18 UTC (rev 135231)
@@ -1,15 +0,0 @@
---- boost/numeric/odeint/util/bind.hpp 2014-07-11 15:00:39.000000000 -0500
-+++ boost/numeric/odeint/util/bind.hpp 2014-08-15 06:50:41.000000000 -0500
-@@ -41,9 +41,12 @@
-
- #else
-
-+// unnamed namespace to avoid multiple declarations (#138)
-+namespace {
- using ::boost::bind;
- boost::arg<1> _1;
- boost::arg<2> _2;
-+}
- // using ::boost::bind;
- // using ::_1;
- // using ::_2;
Deleted: trunk/dports/devel/boost/files/patch-boost-signals2-trackable.hpp.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-boost-signals2-trackable.hpp.diff 2015-04-19 20:38:30 UTC (rev 135230)
+++ trunk/dports/devel/boost/files/patch-boost-signals2-trackable.hpp.diff 2015-04-19 23:40:18 UTC (rev 135231)
@@ -1,11 +0,0 @@
-https://github.com/boostorg/signals2/commit/fd0d8042e2bb2fb5a4d88bcfc700c1cb9d7aa1bb
---- boost/signals2/trackable.hpp.orig
-+++ boost/signals2/trackable.hpp
-@@ -18,6 +18,7 @@
-
- #include <boost/assert.hpp>
- #include <boost/shared_ptr.hpp>
-+#include <boost/weak_ptr.hpp>
-
- namespace boost {
- namespace signals2 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150419/a28358b4/attachment.html>
More information about the macports-changes
mailing list