1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

- update to 1.52.0

- pass maintainership to office@
- detect if compiler is gcc or clang and correctly set the toolset for bjam
- enable long-double support
- some cleanup

Approved by:	maintainer timeout (3 weeks with no reply)
This commit is contained in:
Baptiste Daroussin 2013-01-31 13:33:04 +00:00
parent f5646e4a1c
commit 3f6692467b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311308
36 changed files with 18702 additions and 19071 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: boost-all
# Date created: March 21 2009
# Whom: Alexander Churanov <churanov.port.maintainer@gmail.com>
#
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
# $FreeBSD$
#
PORTNAME= boost-all
@ -13,29 +9,30 @@ EXTRACT_ONLY= # empty
COMMENT?= The "meta-port" for boost libraries
OPTIONS= JAM "Boost.Jam - Build tool from the boost.org" on \
LIBRARIES "Free portable C++ libraries" on \
PYTHON "Boost.Python - interfacing Python and C++" off \
DOCS "Documentation & examples" on
OPTIONS_DEFINE= JAM LIBRARIES PYTHON DOCS
OPTIONS_DEFAULT= JAM LIBRARIES
JAM_DESC= Boost.Jam - Build tool from the boost.org
LIBRARIES_DESC= Free portable C++ libraries
PYTHON_DESC= Boost.Python - interfacing Python and C++
NO_BUILD= yes
.include <bsd.port.pre.mk>
.include "common.mk"
.if !defined(WITHOUT_LIBRARIES)
.if ${PORT_OPTIONS:MLIBRARIES}
RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_thread.so:${PORTSDIR}/devel/boost-libs
.endif
.if !defined(WITHOUT_JAM)
.if ${PORT_OPTIONS:MJAM}
RUN_DEPENDS+= ${LOCALBASE}/bin/bjam:${PORTSDIR}/devel/boost-jam
.endif
.if !defined(WITHOUT_PYTHON)
.if ${PORT_OPTIONS:MPYTHON}
RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_python.so:${PORTSDIR}/devel/boost-python-libs
.endif
.if !defined(WITHOUT_DOCS)
.if ${PORT_OPTIONS:MDOCS}
RUN_DEPENDS+= ${LOCALBASE}/share/doc/boost/doc/html/index.html:${PORTSDIR}/devel/boost-docs
.endif

View File

@ -1,10 +1,12 @@
PORTVERSION= 1.48.0
PORTVERSION= 1.52.0
PORTVERSUFFIX= ${PORTVERSION:C/\.[0-9]+$//}
DISTNAME= boost_${PORTVERSION:S/./_/g}
CATEGORIES= devel
MAINTAINER= churanov.port.maintainer@gmail.com
MAINTAINER= office@FreeBSD.org
CONFLICTS+= boost-python-1* boost-1*
MASTER_SITES= SF/boost/boost/${PORTVERSION}
USE_BZIP2= yes

View File

@ -1,51 +1,60 @@
USE_GCC= 4.2+
USE_LDCONFIG= yes
BOOST_SHARED_LIB_VER= 4
BOOST_SHARED_LIB_VER= 5
PKGMESSAGE= ${WRKDIR}/pkg-message
MAKE_JOBS_SAFE= yes
BJAM= bjam
CXXFLAGS+= -Wno-long-long
PLIST_SUB+= BOOST_SHARED_LIB_VER=${BOOST_SHARED_LIB_VER}
PKG_MESSAGE_FILE_THREADS= ${PORTSDIR}/devel/boost-all/pkg-message.threads
PKG_MESSAGE_FILE_PYTHON= ${PORTSDIR}/devel/boost-all/pkg-message.python
BOOST_TOOLS= gcc
BJAM_ARGS= --layout=system \
--prefix=${PREFIX}
BJAM_OPTIONS= --layout=system --disable-long-double
BJAM_OPTIONS+= ${_MAKE_JOBS}
.if defined (WITH_VERBOSE_BUILD)
BJAM_OPTIONS+= -d2
.if ${ARCH} == amd64
BJAM_ARGS+= cxxflags=-fPIC
.endif
.if defined (WITHOUT_DEBUG)
BJAM_OPTIONS+= variant=release
NO_CCACHE= yes
.if ${CC:T:Mgcc*}
BOOST_TOOLSET:= gcc
.elif ${CC:T:Mclang}
BOOST_TOOLSET:= clang
.else
BJAM_OPTIONS+= variant=debug
_COMPILER_VERSION!= ${CC} --version
. if ${_COMPILER_VERSION:Mgcc}
BOOST_TOOLSET:= gcc
. elif ${_COMPILER_VERSION:M\(GCC\)}
BOOST_TOOLSET:= gcc
. elif ${_COMPILER_VERSION:Mclang}
BOOST_TOOLSET:= clang
. else
.error Unable to determine compiler type for ${CC}
. endif
. undef _COMPILER_VERSION
.endif
BJAM_OPTIONS+= threading=multi
# Unless WITH_OPTIMIZED_CFLAGS is defined, the port uses
# CXXFLAGS as defined by the user (overridng Boost's 'speed'
# configuration scheme
BJAM_OPTIONS+= optimization=speed
.if defined (WITH_OPTIMIZED_CFLAGS)
BJAM_OPTIONS+= inlining=full
CXXFLAGS+= -O3
BJAM_ARGS+= --toolset=${BOOST_TOOLSET} \
${_MAKE_JOBS}
.if ${PORT_OPTIONS:MVERBOSE_BUILD}
BJAM_ARGS+= -d2
.endif
customize-boost-build:
# Do the right thing(tm) for pthread support and respect CXX
@${REINPLACE_CMD}\
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|'\
-e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|'\
-e 's|%%CXX%%|${CXX}|'\
-e 's|%%CXXFLAGS%%|${CXXFLAGS}|'\
${WRKSRC}/tools/build/v2/tools/gcc.jam
.if ${PORT_OPTIONS:MDEBUG}
BJAM_ARGS+= debug
.else
BJAM_ARGS+= release
.endif
@${REINPLACE_CMD}\
-e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:S/-//}|'\
${WRKSRC}/tools/build/v2/tools/python.jam
BJAM_ARGS+= threading=multi \
link=shared,static
BJAM_ARGS+= optimization=speed
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
BJAM_ARGS+= inlining=full
.endif
post-patch:
@${REINPLACE_CMD} -e 's|${PORTVERSION}|${BOOST_SHARED_LIB_VER}|g' \
${WRKSRC}/Jamroot

View File

@ -1,40 +1,32 @@
# Ports collection makefile for: boost-docs
# Date Created: 20 March 2009
# Whom: Alexander Churanov <churanov.port.maintainer@gmail.com>
#
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
# $FreeBSD$
#
PORTNAME= boost-docs
COMMENT= Documentation for libraries from boost.org
USE_BZIP2= yes
DOCSDIR= ${PREFIX}/share/doc/boost
UNIQ= /usr/bin/uniq
NO_BUILD= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/boost-all/common.mk"
.include "${.CURDIR}/..//boost-all/common.mk"
do-install:
# Documentation & examples
${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}
${FIND} ${WRKSRC} -type f -exec ${CHMOD} 0444 {} \;
${FIND} ${WRKSRC} -type d -exec ${CHMOD} 0755 {} \;
${FIND} ${WRKSRC} -name ".cvsignore" -delete
cd ${WRKSRC} &&\
@cd ${WRKSRC} &&\
${FIND} . -name "*.htm" -o -name "*.html" -o -name "*.css"\
-o -name "*.jp*g" -o -name "*.png" -o -name "*.gif"\
| ${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR} -
cd ${WRKSRC}/libs &&\
| ${PAX} -rw ${DOCSDIR}
@cd ${WRKSRC}/libs &&\
${FIND} . -name "example" -o -name "examples" -o -name "*example*.cpp"\
-o -name "*example*.c" -o -name "*example*.hpp" | ${UNIQ} |\
${GREP} -v "assign/test" | ${GREP} -v "iterator/test" | \
${GREP} -v "range/test" |\
${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR}/libs -
${PAX} -rw ${DOCSDIR}/libs
@${FIND} ${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
@${FIND} ${DOCSDIR} -type d -exec ${CHMOD} 0755 {} \;
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (boost_1_48_0.tar.bz2) = 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada
SIZE (boost_1_48_0.tar.bz2) = 48236989
SHA256 (boost_1_52_0.tar.bz2) = 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92
SIZE (boost_1_52_0.tar.bz2) = 54421709

File diff suppressed because it is too large Load Diff

View File

@ -1,27 +1,20 @@
# Ports collection makefile for: boost-jam
# Date Created: 15 March 2009
# Whom: Alexander Churanov <churanov.port.maintainer@gmail.com>
#
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
# $FreeBSD$
#
PORTNAME= boost-jam
COMMENT= Build tool from the boost.org
USE_BZIP2= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/boost-all/common.mk"
PLIST_FILES= bin/bjam
BJAM= ${WRKSRC}/bjam
post-patch:
@${REINPLACE_CMD} -e '/toolset cc/,/;/ { /opt --release/d; }' ${WRKSRC}/tools/build/v2/engine/build.jam
.include "${.CURDIR}/../boost-all/common.mk"
do-build:
cd ${WRKSRC} && ${MAKE_ENV} ./bootstrap.sh --with-toolset=cc --prefix=${PREFIX}
cd ${WRKSRC}/tools/build/v2/engine && \
${MAKE_ENV} ./build.sh ${CC}
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${BJAM} ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/tools/build/v2/engine/bin.*/bjam \
${PREFIX}/bin/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (boost_1_48_0.tar.bz2) = 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada
SIZE (boost_1_48_0.tar.bz2) = 48236989
SHA256 (boost_1_52_0.tar.bz2) = 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92
SIZE (boost_1_52_0.tar.bz2) = 54421709

View File

@ -2,85 +2,45 @@
# $FreeBSD$
PORTNAME= boost-libs
PORTREVISION= 2
COMMENT= Free portable C++ libraries (without Boost.Python)
USE_BZIP2= yes
BUILD_DEPENDS+= bjam:${PORTSDIR}/devel/boost-jam
OPTIONS= VERBOSE_BUILD "Show compiler messages" off \
DEBUG "Build debugging symbols" off \
ICU "Boost.Regex with ICU unicode support" on \
OPTIMIZED_CFLAGS "Enable -O3 optimization" off
OPTIONS_DEFINE= VERSBOSE_BUILD DEBUG ICU OPTIMIZED_CFLAGS
OPTIONS_DEFAULT= ICU
VERBOSE_BUILD_DESC= Show compiler messages
ICU_DESC= Boost.Regex with ICU unicode support
BOOST_LIBS= date_time filesystem graph iostreams\
math_c99 math_c99f math_tr1 math_tr1f\
prg_exec_monitor program_options regex\
serialization signals system thread unit_test_framework\
wave wserialization
.include "${.CURDIR}/../boost-all/common.mk"
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/boost-all/common.mk"
.include "${PORTSDIR}/devel/boost-all/compiled.mk"
.include "${.CURDIR}/../boost-all/compiled.mk"
.if defined(WITH_ICU)
BJAM_ARGS+= --without-python
.if ${PORT_OPTIONS:MICU}
LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
BJAM_OPTIONS+= -sICU_PATH=${LOCALBASE}
BJAM_ARGS+= -sICU_PATH=${LOCALBASE}
.else
USE_ICONV= yes
BJAM_OPTIONS+= -sICONV_PATH=${LOCALBASE}
BJAM_ARGS+= -sICONV_PATH=${LOCALBASE}
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64: invokes i386 assembler
.endif
post-patch: customize-boost-build
# Remove Boost.Python
${RM} -rf ${WRKSRC}/boost/python* ${WRKSRC}/libs/python
# Add symlink to help build system to find random_device.cpp
${LN} -s ${WRKSRC}/libs/random/src/random_device.cpp ${WRKSRC}/libs/random/random_device.cpp
do-build:
# build the library
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\
--toolset=${BOOST_TOOLS}
# build bgl-viz library
cd ${WRKSRC}/libs/graph/build && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\
--toolset=${BOOST_TOOLS}
# build random device code
cd ${WRKSRC}/libs/random && \
${CXX} ${CXXCFLAGS} ${CFLAGS} -c -I${WRKSRC} random_device.cpp && \
${AR} rc ${WRKSRC}/bin.v2/libs/libboost_random.a random_device.o
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} stage
@cd ${WRKSRC}/stage/lib && \
( for l in lib*.so.*; do ${LN} -sf $${l} $${l%.*}; done )
do-install:
# Install libraries
${FIND} ${WRKSRC}/stage/lib -type f -name "*.a"\
-exec ${INSTALL_DATA} \{\} ${PREFIX}/lib \;
${FIND} -E ${WRKSRC}/stage/lib -type f \
-regex '.*so' \
-exec ${INSTALL_DATA} \{\} ${PREFIX}/lib \;
# Create symlinks for shared libraries
.for lib in ${BOOST_LIBS}
cd ${PREFIX}/lib && \
${MV} "libboost_${lib}.so" "libboost_${lib}.so.${BOOST_SHARED_LIB_VER}" && \
${LN} -fs "libboost_${lib}.so.${BOOST_SHARED_LIB_VER}" "libboost_${lib}.so"
.endfor
# Install headers
cd ${WRKSRC} && \
${FIND} boost -type d -a \! -name "*.orig"\
-exec ${MKDIR} ${PREFIX}/include/\{\} \;
cd ${WRKSRC} && \
${FIND} boost -type f -a \! -name "*.orig"\
-exec ${INSTALL_DATA} \{\} ${PREFIX}/include/\{\} \;
@cd ${WRKSRC} && \
${SETENT} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} install
# For some reasons BJAM forget about the links
@cd ${WRKSRC}/stage/ && ${FIND} lib -type l | ${PAX} -rw -p p ${PREFIX}
# display pkg-message
post-install:
@ -97,12 +57,7 @@ post-install:
-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
@if [ -s ${PKGMESSAGE} ]; then \
${ECHO_CMD} ; \
${ECHO_CMD} "===============================================================================" ; \
${ECHO_CMD} ; \
${CAT} ${PKGMESSAGE}; \
${ECHO_CMD} "===============================================================================" ; \
${ECHO_CMD} ; \
fi
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (boost_1_48_0.tar.bz2) = 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada
SIZE (boost_1_48_0.tar.bz2) = 48236989
SHA256 (boost_1_52_0.tar.bz2) = 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92
SIZE (boost_1_52_0.tar.bz2) = 54421709

View File

@ -1,16 +0,0 @@
--- boost/foreach.hpp (revision 75077)
+++ boost/foreach.hpp (revision 75540)
@@ -166,5 +166,5 @@
// at the global namespace for your type.
template<typename T>
-inline boost::foreach::is_lightweight_proxy<T> *
+inline boost::BOOST_FOREACH::is_lightweight_proxy<T> *
boost_foreach_is_lightweight_proxy(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; }
@@ -191,5 +191,5 @@
// at the global namespace for your type.
template<typename T>
-inline boost::foreach::is_noncopyable<T> *
+inline boost::BOOST_FOREACH::is_noncopyable<T> *
boost_foreach_is_noncopyable(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; }

View File

@ -1,40 +0,0 @@
--- boost/foreach_fwd.hpp (revision 62661)
+++ boost/foreach_fwd.hpp (revision 75540)
@@ -15,4 +15,6 @@
#define BOOST_FOREACH_FWD_HPP
+#include <utility> // for std::pair
+
// This must be at global scope, hence the uglified name
enum boost_foreach_argument_dependent_lookup_hack
@@ -26,4 +28,7 @@
namespace foreach
{
+ template<typename T>
+ std::pair<T, T> in_range(T begin, T end);
+
///////////////////////////////////////////////////////////////////////////////
// boost::foreach::tag
@@ -47,4 +52,22 @@
} // namespace foreach
+// Workaround for unfortunate https://svn.boost.org/trac/boost/ticket/6131
+namespace BOOST_FOREACH
+{
+ using foreach::in_range;
+ using foreach::tag;
+
+ template<typename T>
+ struct is_lightweight_proxy
+ : foreach::is_lightweight_proxy<T>
+ {};
+
+ template<typename T>
+ struct is_noncopyable
+ : foreach::is_noncopyable<T>
+ {};
+
+} // namespace BOOST_FOREACH
+
} // namespace boost

View File

@ -1,37 +0,0 @@
--- boost/interprocess/shared_memory_object.hpp.orig 2012-07-12 15:27:30.607506166 +0200
+++ boost/interprocess/shared_memory_object.hpp 2012-07-12 15:30:22.481507868 +0200
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztanaga 2005-2009. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -251,7 +251,7 @@
#if defined(__FreeBSD__)
-inline bool use_filesistem_based_posix()
+inline bool use_filesystem_based_posix()
{
int jailed = 0;
std::size_t len = sizeof(jailed);
@@ -275,7 +275,7 @@
#if defined(BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
const bool add_leading_slash = false;
#elif defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
- const bool add_leading_slash = !shared_memory_object_ipcdetail::use_filesistem_based_posix();
+ const bool add_leading_slash = !shared_memory_object_detail::use_filesystem_based_posix();
#else
const bool add_leading_slash = true;
#endif
@@ -361,7 +361,7 @@
#if defined(BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
const bool add_leading_slash = false;
#elif defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY)
- const bool add_leading_slash = !shared_memory_object_ipcdetail::use_filesistem_based_posix();
+ const bool add_leading_slash = !shared_memory_object_detail::use_filesystem_based_posix();
#else
const bool add_leading_slash = true;
#endif

View File

@ -1,8 +0,0 @@
--- ./boost/config/compiler/clang.hpp.orig 2010-10-01 11:19:44.000000000 +0200
+++ ./boost/config/compiler/clang.hpp 2012-02-29 15:20:25.157457434 +0100
@@ -60,4 +60,4 @@
// Macro used to identify the Clang compiler.
#define BOOST_CLANG 1
-
+#define BOOST_HAS_LONG_LONG 1

View File

@ -1,16 +0,0 @@
--- boost/config/compiler/gcc.hpp.orig 2010-10-01 09:19:44.000000000 +0000
+++ boost/config/compiler/gcc.hpp 2010-11-20 10:59:22.000000000 +0000
@@ -146,6 +149,13 @@
# endif
#endif
+//
+// gcc previous to 4.3.x does not implement inclass member initialization
+//
+#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 2))
+# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
+#endif
+
// C++0x features not implemented in any GCC version
//
#define BOOST_NO_CONSTEXPR

View File

@ -1,11 +0,0 @@
Index: boost/archive/shared_ptr_helper.hpp
===================================================================
--- boost/archive/shared_ptr_helper.hpp (revision 55789)
+++ boost/archive/shared_ptr_helper.hpp (revision 57981)
@@ -109,5 +110,5 @@
static const boost::serialization::extended_type_info *
get_object_identifier(T & t){
- return boost::serialization::singleton<
+ return & boost::serialization::singleton<
BOOST_DEDUCED_TYPENAME
boost::serialization::type_info_implementation<T>::type

View File

@ -1,122 +0,0 @@
--- boost/asio/detail/io_control.hpp.orig 2011-06-06 03:21:43.000000000 +0400
+++ boost/asio/detail/io_control.hpp 2012-07-10 13:24:45.000000000 +0400
@@ -44,9 +44,9 @@
}
// Get the name of the IO control command.
- int name() const
+ ioctl_cmd_type name() const
{
- return static_cast<int>(FIONBIO);
+ return static_cast<ioctl_cmd_type>(FIONBIO);
}
// Set the value of the I/O control command.
@@ -94,9 +94,9 @@
}
// Get the name of the IO control command.
- int name() const
+ ioctl_cmd_type name() const
{
- return static_cast<int>(FIONREAD);
+ return static_cast<ioctl_cmd_type>(FIONREAD);
}
// Set the value of the I/O control command.
--- boost/asio/detail/descriptor_ops.hpp.orig 2010-12-06 01:55:08.000000000 +0300
+++ boost/asio/detail/descriptor_ops.hpp 2010-12-06 01:55:39.000000000 +0300
@@ -79,7 +79,7 @@
const buf* bufs, std::size_t count,
boost::system::error_code& ec, std::size_t& bytes_transferred);
-BOOST_ASIO_DECL int ioctl(int d, state_type& state, long cmd,
+BOOST_ASIO_DECL int ioctl(int d, state_type& state, ioctl_cmd_type cmd,
ioctl_arg_type* arg, boost::system::error_code& ec);
BOOST_ASIO_DECL int fcntl(int d, long cmd, boost::system::error_code& ec);
--- boost/asio/detail/socket_ops.hpp.orig 2010-12-06 01:58:36.000000000 +0300
+++ boost/asio/detail/socket_ops.hpp 2010-12-06 01:59:42.000000000 +0300
@@ -222,7 +222,7 @@
std::size_t* addrlen, boost::system::error_code& ec);
BOOST_ASIO_DECL int ioctl(socket_type s, state_type& state,
- int cmd, ioctl_arg_type* arg, boost::system::error_code& ec);
+ ioctl_cmd_type cmd, ioctl_arg_type* arg, boost::system::error_code& ec);
BOOST_ASIO_DECL int select(int nfds, fd_set* readfds, fd_set* writefds,
fd_set* exceptfds, timeval* timeout, boost::system::error_code& ec);
--- boost/asio/detail/impl/descriptor_ops.ipp.orig 2010-12-06 01:44:38.000000000 +0300
+++ boost/asio/detail/impl/descriptor_ops.ipp 2010-12-06 01:41:33.000000000 +0300
@@ -251,7 +251,7 @@
}
}
-int ioctl(int d, state_type& state, long cmd,
+int ioctl(int d, state_type& state, ioctl_cmd_type cmd,
ioctl_arg_type* arg, boost::system::error_code& ec)
{
if (d == -1)
@@ -273,7 +273,7 @@
// descriptor is put into the state that has been requested by the user. If
// the ioctl syscall was successful then we need to update the flags to
// match.
- if (cmd == static_cast<long>(FIONBIO))
+ if (cmd == static_cast<ioctl_cmd_type>(FIONBIO))
{
if (*arg)
{
--- boost/asio/detail/impl/socket_ops.ipp.orig 2010-12-06 01:46:05.000000000 +0300
+++ boost/asio/detail/impl/socket_ops.ipp 2010-12-06 01:49:39.000000000 +0300
@@ -1414,7 +1414,7 @@
return result;
}
-int ioctl(socket_type s, state_type& state, int cmd,
+int ioctl(socket_type s, state_type& state, ioctl_cmd_type cmd,
ioctl_arg_type* arg, boost::system::error_code& ec)
{
if (s == invalid_socket)
@@ -1424,15 +1424,10 @@
}
clear_last_error();
-#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
- int result = error_wrapper(::ioctlsocket(s, cmd, arg), ec);
-#elif defined(__MACH__) && defined(__APPLE__) \
- || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+
int result = error_wrapper(::ioctl(s,
- static_cast<unsigned int>(cmd), arg), ec);
-#else
- int result = error_wrapper(::ioctl(s, cmd, arg), ec);
-#endif
+ static_cast<ioctl_cmd_type>(cmd), arg), ec);
+
if (result >= 0)
{
ec = boost::system::error_code();
@@ -1442,7 +1437,7 @@
// the correct state. This ensures that the underlying socket is put into
// the state that has been requested by the user. If the ioctl syscall was
// successful then we need to update the flags to match.
- if (cmd == static_cast<int>(FIONBIO))
+ if (cmd == static_cast<ioctl_cmd_type>(FIONBIO))
{
if (*arg)
{
--- boost/asio/detail/socket_types.hpp.orig 2010-12-06 01:35:39.000000000 +0300
+++ boost/asio/detail/socket_types.hpp 2010-12-06 01:36:05.000000000 +0300
@@ -147,6 +147,12 @@
typedef sockaddr_storage sockaddr_storage_type;
typedef sockaddr_un sockaddr_un_type;
typedef addrinfo addrinfo_type;
+#if (defined(__MACH__) && defined(__APPLE__)) || defined(__DragonFly__) || \
+ defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+typedef unsigned long ioctl_cmd_type;
+#else
+typedef int ioctl_cmd_type;
+#endif
typedef int ioctl_arg_type;
typedef uint32_t u_long_type;
typedef uint16_t u_short_type;

View File

@ -1,11 +0,0 @@
--- boost/pool/pool.hpp.orig 2011-12-15 18:21:40.000000000 +0300
+++ boost/pool/pool.hpp 2011-12-15 18:22:05.000000000 +0300
@@ -346,7 +346,7 @@
// For alignment reasons, this used to be defined to be lcm(requested_size, sizeof(void *), sizeof(size_type)),
// but is now more parsimonious: just rounding up to the minimum required alignment of our housekeeping data
// when required. This works provided all alignments are powers of two.
- size_type s = (std::max)(requested_size, min_alloc_size);
+ size_type s = (std::max)(requested_size, static_cast <size_type> (min_alloc_size));
size_type rem = s % min_align;
if(rem)
s += min_align - rem;

View File

@ -1,154 +0,0 @@
--- boost/test/impl/execution_monitor.ipp.orig 2009-09-23 16:44:57.000000000 +0400
+++ boost/test/impl/execution_monitor.ipp 2009-09-23 16:59:44.000000000 +0400
@@ -319,48 +319,7 @@
switch( m_sig_info->si_signo ) {
case SIGILL:
switch( m_sig_info->si_code ) {
-#ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS
- case ILL_ILLOPC:
- report_error( execution_exception::system_fatal_error,
- "signal: illegal opcode; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_ILLTRP:
- report_error( execution_exception::system_fatal_error,
- "signal: illegal trap; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_PRVREG:
- report_error( execution_exception::system_fatal_error,
- "signal: privileged register; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_BADSTK:
- report_error( execution_exception::system_fatal_error,
- "signal: internal stack error; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
-#endif
- case ILL_ILLOPN:
- report_error( execution_exception::system_fatal_error,
- "signal: illegal operand; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_ILLADR:
- report_error( execution_exception::system_fatal_error,
- "signal: illegal addressing mode; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_PRVOPC:
- report_error( execution_exception::system_fatal_error,
- "signal: privileged opcode; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
- case ILL_COPROC:
- report_error( execution_exception::system_fatal_error,
- "signal: co-processor error; address of failing instruction: 0x%08lx",
- m_sig_info->si_addr );
- break;
+ // FreeBSD 6.x does not provide details for this signal as required by SUSv3
default:
report_error( execution_exception::system_fatal_error,
"signal: SIGILL, si_code: %d (illegal instruction; address of failing instruction: 0x%08lx)",
@@ -421,18 +380,7 @@
case SIGSEGV:
switch( m_sig_info->si_code ) {
-#ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS
- case SEGV_MAPERR:
- report_error( execution_exception::system_fatal_error,
- "memory access violation at address: 0x%08lx: no mapping at fault address",
- m_sig_info->si_addr );
- break;
- case SEGV_ACCERR:
- report_error( execution_exception::system_fatal_error,
- "memory access violation at address: 0x%08lx: invalid permissions",
- m_sig_info->si_addr );
- break;
-#endif
+ // FreeBSD 6.x does not provide details for this signal as required by SUSv3
default:
report_error( execution_exception::system_fatal_error,
"signal: SIGSEGV, si_code: %d (memory access violation at address: 0x%08lx)",
@@ -443,23 +391,7 @@
case SIGBUS:
switch( m_sig_info->si_code ) {
-#ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS
- case BUS_ADRALN:
- report_error( execution_exception::system_fatal_error,
- "memory access violation at address: 0x%08lx: invalid address alignment",
- m_sig_info->si_addr );
- break;
- case BUS_ADRERR:
- report_error( execution_exception::system_fatal_error,
- "memory access violation at address: 0x%08lx: non-existent physical address",
- m_sig_info->si_addr );
- break;
- case BUS_OBJERR:
- report_error( execution_exception::system_fatal_error,
- "memory access violation at address: 0x%08lx: object specific hardware error",
- m_sig_info->si_addr );
- break;
-#endif
+ // FreeBSD 6.x does not provide details for this signal as required by SUSv3
default:
report_error( execution_exception::system_fatal_error,
"signal: SIGSEGV, si_code: %d (memory access violation at address: 0x%08lx)",
@@ -470,38 +402,7 @@
case SIGCHLD:
switch( m_sig_info->si_code ) {
-#ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS
- case CLD_EXITED:
- report_error( execution_exception::system_error,
- "child has exited; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
- case CLD_KILLED:
- report_error( execution_exception::system_error,
- "child was killed; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
- case CLD_DUMPED:
- report_error( execution_exception::system_error,
- "child terminated abnormally; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
- case CLD_TRAPPED:
- report_error( execution_exception::system_error,
- "traced child has trapped; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
- case CLD_STOPPED:
- report_error( execution_exception::system_error,
- "child has stopped; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
- case CLD_CONTINUED:
- report_error( execution_exception::system_error,
- "stopped child had continued; pid: %d; uid: %d; exit value: %d",
- (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status );
- break;
-#endif
+ // FreeBSD 6.x does not provide details for this signal as required by SUSv3
default:
report_error( execution_exception::system_error,
"signal: SIGCHLD, si_code: %d (child process has terminated; pid: %d; uid: %d; exit value: %d)",
@@ -771,15 +672,7 @@
static bool ignore_sigchild( siginfo_t* info )
{
- return info->si_signo == SIGCHLD
-#ifndef BOOST_TEST_LIMITED_SIGNAL_DETAILS
- && info->si_code == CLD_EXITED
-#endif
-#ifdef BOOST_TEST_IGNORE_NON_ZERO_CHILD_CODE
- ;
-#else
- && (int)info->si_status == 0;
-#endif
+ return info->si_signo == SIGCHLD && (int)info->si_status == 0;
}
//____________________________________________________________________________//

View File

@ -1,11 +0,0 @@
--- boostcpp.jam.orig 2011-12-15 18:33:48.000000000 +0300
+++ boostcpp.jam 2011-12-15 18:34:05.000000000 +0300
@@ -154,7 +154,7 @@
# suffixes either. Pgi compilers can not accept library with version
# suffix.
if $(type) = SHARED_LIB &&
- ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
+ ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix freebsd ) &&
! ( [ $(property-set).get <toolset> ] in pgi ) )
{
result = $(result).$(BOOST_VERSION) ;

View File

@ -0,0 +1,11 @@
--- boost/math/tools/config.hpp.orig 2013-01-28 17:44:35.430492446 +0000
+++ boost/math/tools/config.hpp 2013-01-28 17:44:51.480492935 +0000
@@ -24,7 +24,7 @@
#include <boost/math/tools/user.hpp>
#include <boost/math/special_functions/detail/round_fwd.hpp>
-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
+#if (defined(__CYGWIN__) || defined(__NetBSD__) \
|| (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
&& !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

View File

@ -1,11 +0,0 @@
--- libs/filesystem/v2/src/v2_path.cpp.orig 2010-12-29 19:23:18.000000000 +0100
+++ libs/filesystem/v2/src/v2_path.cpp 2010-12-29 19:23:54.000000000 +0100
@@ -45,7 +45,7 @@
{
#if !defined(macintosh) && !defined(__APPLE__) && !defined(__APPLE_CC__)
// ISO C calls this "the locale-specific native environment":
- static std::locale lc("");
+ static std::locale lc;
#else // Mac OS
// "All BSD system functions expect their string parameters to be in UTF-8 encoding
// and nothing else."

View File

@ -1,11 +0,0 @@
--- libs/filesystem/v3/src/path.cpp.orig 2011-12-15 17:38:14.000000000 +0300
+++ libs/filesystem/v3/src/path.cpp 2011-12-15 17:51:50.000000000 +0300
@@ -767,7 +767,7 @@
// or LANG are wrong, for example), so dynamic initialization is used to ensure
// that exceptions can be caught.
- return std::locale("");
+ return std::locale();
# endif
}

View File

@ -1,11 +0,0 @@
--- tools/build/v2/engine/build.jam.orig Tue Jul 29 15:43:31 2008
+++ tools/build/v2/engine/build.jam Tue Nov 11 23:52:09 2008
@@ -176,7 +176,7 @@
## GCC 2.x, 3.x, 4.x
toolset gcc gcc : "-o " : -D
: -pedantic -fno-strict-aliasing
- [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
+ [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
[ opt --debug : -g -O0 -fno-inline ]
-I$(--python-include) -I$(--extra-include) -Wno-long-long
: -L$(--python-lib[1]) -l$(--python-lib[2]) ;

View File

@ -1,17 +0,0 @@
--- tools/build/v2/tools/common.jam.orig 2009-09-23 16:39:31.000000000 +0400
+++ tools/build/v2/tools/common.jam 2009-09-23 16:39:33.000000000 +0400
@@ -765,14 +765,6 @@
result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) :
$(property-set) ] ] ;
- case <threading> :
- result += [ join-tag $(f:G=) : [ threading-tag $(name) : $(type)
- : $(property-set) ] ] ;
-
- case <runtime> :
- result += [ join-tag $(f:G=) : [ runtime-tag $(name) : $(type) :
- $(property-set) ] ] ;
-
case <qt> :
result += [ join-tag $(f:G=) : [ qt-tag $(name) : $(type) :
$(property-set) ] ] ;

View File

@ -1,47 +0,0 @@
--- tools/build/v2/tools/gcc.jam.orig 2011-06-07 00:36:21.000000000 +0400
+++ tools/build/v2/tools/gcc.jam 2011-12-15 18:01:36.000000000 +0300
@@ -70,7 +70,7 @@
local tool-command = ;
if $(command)
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ : $(command) ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% : $(command) ] ;
if ! $(tool-command)
{
errors.error "toolset gcc initialization:" :
@@ -86,7 +86,7 @@
#2.1) fallback: check whether "g++" reports the requested version
if ! $(tool-command)
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% ] ;
if $(tool-command)
{
local tool-command-string = $(tool-command:J=" ") ;
@@ -122,7 +122,7 @@
#3) default: no command and no version specified, try using default command "g++"
else
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% ] ;
if ! $(tool-command)
{
errors.error "toolset gcc initialization:" :
@@ -365,7 +365,7 @@
# Declare flags and action for compilation.
toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
+toolset.flags gcc.compile OPTIONS <optimization>speed : %%CXXFLAGS%% ;
toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
@@ -1049,7 +1049,7 @@
}
case *bsd :
{
- option = -pthread ;
+ option = %%PTHREAD_LIBS%% %%PTHREAD_CFLAGS%% ;
# There is no -lrt on BSD.
}
case sgi :

View File

@ -1,11 +0,0 @@
--- tools/build/v2/tools/python.jam.orig Thu Oct 16 12:42:03 2008
+++ tools/build/v2/tools/python.jam Tue Nov 11 23:50:21 2008
@@ -650,7 +650,7 @@
case windows : return ;
case hpux : return <library>rt ;
- case *bsd : return <library>pthread <toolset>gcc:<library>util ;
+ case *bsd : return <library>%%PTHREAD_LIBS%% <toolset>gcc:<library>util ;
case aix : return <library>pthread <library>dl ;

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +1,17 @@
# Ports collection makefile for: boost-python-libs
# Date Created: 18 March 2009
# Whom: Alexander Churanov <churanov.port.maintainer@gmail.com>
#
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
# $FreeBSD$
#
PORTNAME= boost-python-libs
COMMENT= Framework for interfacing Python and C++
USE_BZIP2= yes
USE_PYTHON= yes
OPTIONS= VERBOSE_BUILD "Show compiler messages" off \
DEBUG "Build debugging symbols" off \
OPTIMIZED_CFLAGS "Enable -O3 optimization" off
OPTIONS_DEFINE= VERBOSE_BUILD DEBUG OPTIMIZED_CFLAGS
VERBOSE_BUILD_DESC= Show compiler messages
.include "${.CURDIR}/../boost-all/common.mk"
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/boost-all/common.mk"
.include "${PORTSDIR}/devel/boost-all/compiled.mk"
.if ${ARCH} == "sparc64"
@ -32,41 +27,18 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/libboost_thread.so.${BOOST_SHARED_LIB_VER}:${PORT
BUILD_DEPENDS+= ${BJAM}:${PORTSDIR}/devel/boost-jam
post-patch: customize-boost-build
do-build:
${ECHO_CMD} "using python : " ${PYTHON_VER} " : " ${PYTHON_CMD} " : " ${PYTHON_INCLUDEDIR} ";" >> ${WRKSRC}/tools/build/v2/site-config.jam
@${ECHO_CMD} "using python : " ${PYTHON_VER} " : " ${PYTHON_CMD} " : " ${PYTHON_INCLUDEDIR} ";" >> ${WRKSRC}/tools/build/v2/site-config.jam
# build the library
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\
--toolset=${BOOST_TOOLS} --with-python
# Remove non-python headers
cd ${WRKSRC} && \
${FIND} boost -not -path '*boost/python*' -delete
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} --with-python stage
@cd ${WRKSRC}/stage/lib && \
( for l in lib*.so.*; do ${LN} -sf $${l} $${l%.*}; done )
do-install:
# Install libraries
${FIND} ${WRKSRC}/bin.v2/libs/python -type f -name "*.a"\
-exec ${INSTALL_DATA} \{\} ${PREFIX}/lib \;
${FIND} -E ${WRKSRC}/bin.v2/libs/python -type f \
-regex '.*so' \
-exec ${INSTALL_DATA} \{\} ${PREFIX}/lib \;
# Create symlink for shared library
cd ${PREFIX}/lib/ && \
${MV} "libboost_python.so" "libboost_python.so.${BOOST_SHARED_LIB_VER}" && \
${LN} -fs "libboost_python.so.${BOOST_SHARED_LIB_VER}" "libboost_python.so"
# Install headers
cd ${WRKSRC} && \
${FIND} boost -type d -a \! -name "*.orig"\
-exec ${MKDIR} ${PREFIX}/include/\{\} \;
cd ${WRKSRC} && \
${FIND} boost -type f -a \! -name "*.orig"\
-exec ${INSTALL_DATA} \{\} ${PREFIX}/include/\{\} \;
@cd ${WRKSRC}/stage/lib && ${PAX} -rw -p p libboost* ${PREFIX}/lib
# For some reasons BJAM forget about the links
@cd ${WRKSRC}/stage/ && ${FIND} lib -type l | ${PAX} -rw -p p ${PREFIX}
post-install:
# display pkg-message
@ -82,12 +54,7 @@ post-install:
-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
@if [ -s ${PKGMESSAGE} ]; then \
${ECHO_CMD} ; \
${ECHO_CMD} "===============================================================================" ; \
${ECHO_CMD} ; \
${CAT} ${PKGMESSAGE}; \
${ECHO_CMD} "===============================================================================" ; \
${ECHO_CMD} ; \
${CAT} ${PKGMESSAGE}; \
fi
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (boost_1_48_0.tar.bz2) = 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada
SIZE (boost_1_48_0.tar.bz2) = 48236989
SHA256 (boost_1_52_0.tar.bz2) = 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92
SIZE (boost_1_52_0.tar.bz2) = 54421709

View File

@ -1,11 +0,0 @@
--- boostcpp.jam.orig 2011-12-15 18:33:48.000000000 +0300
+++ boostcpp.jam 2011-12-15 18:34:05.000000000 +0300
@@ -154,7 +154,7 @@
# suffixes either. Pgi compilers can not accept library with version
# suffix.
if $(type) = SHARED_LIB &&
- ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
+ ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix freebsd ) &&
! ( [ $(property-set).get <toolset> ] in pgi ) )
{
result = $(result).$(BOOST_VERSION) ;

View File

@ -1,11 +0,0 @@
--- tools/build/v2/engine/build.jam.orig Tue Jul 29 15:43:31 2008
+++ tools/build/v2/engine/build.jam Tue Nov 11 23:52:09 2008
@@ -176,7 +176,7 @@
## GCC 2.x, 3.x, 4.x
toolset gcc gcc : "-o " : -D
: -pedantic -fno-strict-aliasing
- [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
+ [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
[ opt --debug : -g -O0 -fno-inline ]
-I$(--python-include) -I$(--extra-include) -Wno-long-long
: -L$(--python-lib[1]) -l$(--python-lib[2]) ;

View File

@ -1,17 +0,0 @@
--- tools/build/v2/tools/common.jam.orig 2009-09-23 16:39:31.000000000 +0400
+++ tools/build/v2/tools/common.jam 2009-09-23 16:39:33.000000000 +0400
@@ -765,14 +765,6 @@
result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) :
$(property-set) ] ] ;
- case <threading> :
- result += [ join-tag $(f:G=) : [ threading-tag $(name) : $(type)
- : $(property-set) ] ] ;
-
- case <runtime> :
- result += [ join-tag $(f:G=) : [ runtime-tag $(name) : $(type) :
- $(property-set) ] ] ;
-
case <qt> :
result += [ join-tag $(f:G=) : [ qt-tag $(name) : $(type) :
$(property-set) ] ] ;

View File

@ -1,47 +0,0 @@
--- tools/build/v2/tools/gcc.jam.orig 2011-06-07 00:36:21.000000000 +0400
+++ tools/build/v2/tools/gcc.jam 2011-12-15 18:01:36.000000000 +0300
@@ -70,7 +70,7 @@
local tool-command = ;
if $(command)
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ : $(command) ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% : $(command) ] ;
if ! $(tool-command)
{
errors.error "toolset gcc initialization:" :
@@ -86,7 +86,7 @@
#2.1) fallback: check whether "g++" reports the requested version
if ! $(tool-command)
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% ] ;
if $(tool-command)
{
local tool-command-string = $(tool-command:J=" ") ;
@@ -122,7 +122,7 @@
#3) default: no command and no version specified, try using default command "g++"
else
{
- tool-command = [ common.get-invocation-command-nodefault gcc : g++ ] ;
+ tool-command = [ common.get-invocation-command-nodefault gcc : %%CXX%% ] ;
if ! $(tool-command)
{
errors.error "toolset gcc initialization:" :
@@ -365,7 +365,7 @@
# Declare flags and action for compilation.
toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
+toolset.flags gcc.compile OPTIONS <optimization>speed : %%CXXFLAGS%% ;
toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
@@ -1049,7 +1049,7 @@
}
case *bsd :
{
- option = -pthread ;
+ option = %%PTHREAD_LIBS%% %%PTHREAD_CFLAGS%% ;
# There is no -lrt on BSD.
}
case sgi :

View File

@ -1,11 +0,0 @@
--- tools/build/v2/tools/python.jam.orig Thu Oct 16 12:42:03 2008
+++ tools/build/v2/tools/python.jam Tue Nov 11 23:50:21 2008
@@ -650,7 +650,7 @@
case windows : return ;
case hpux : return <library>rt ;
- case *bsd : return <library>pthread <toolset>gcc:<library>util ;
+ case *bsd : return <library>%%PTHREAD_LIBS%% <toolset>gcc:<library>util ;
case aix : return <library>pthread <library>dl ;

View File

@ -1,221 +1,3 @@
include/boost/python.hpp
include/boost/python/arg_from_python.hpp
include/boost/python/args.hpp
include/boost/python/args_fwd.hpp
include/boost/python/back_reference.hpp
include/boost/python/base_type_traits.hpp
include/boost/python/bases.hpp
include/boost/python/borrowed.hpp
include/boost/python/call.hpp
include/boost/python/call_method.hpp
include/boost/python/cast.hpp
include/boost/python/class.hpp
include/boost/python/class_fwd.hpp
include/boost/python/converter/arg_from_python.hpp
include/boost/python/converter/arg_to_python.hpp
include/boost/python/converter/arg_to_python_base.hpp
include/boost/python/converter/as_to_python_function.hpp
include/boost/python/converter/builtin_converters.hpp
include/boost/python/converter/constructor_function.hpp
include/boost/python/converter/context_result_converter.hpp
include/boost/python/converter/convertible_function.hpp
include/boost/python/converter/from_python.hpp
include/boost/python/converter/implicit.hpp
include/boost/python/converter/obj_mgr_arg_from_python.hpp
include/boost/python/converter/object_manager.hpp
include/boost/python/converter/pointer_type_id.hpp
include/boost/python/converter/pyobject_traits.hpp
include/boost/python/converter/pyobject_type.hpp
include/boost/python/converter/pytype_function.hpp
include/boost/python/converter/pytype_object_mgr_traits.hpp
include/boost/python/converter/registered.hpp
include/boost/python/converter/registered_pointee.hpp
include/boost/python/converter/registrations.hpp
include/boost/python/converter/registry.hpp
include/boost/python/converter/return_from_python.hpp
include/boost/python/converter/rvalue_from_python_data.hpp
include/boost/python/converter/shared_ptr_deleter.hpp
include/boost/python/converter/shared_ptr_from_python.hpp
include/boost/python/converter/shared_ptr_to_python.hpp
include/boost/python/converter/to_python_function_type.hpp
include/boost/python/copy_const_reference.hpp
include/boost/python/copy_non_const_reference.hpp
include/boost/python/data_members.hpp
include/boost/python/def.hpp
include/boost/python/def_visitor.hpp
include/boost/python/default_call_policies.hpp
include/boost/python/detail/aix_init_module.hpp
include/boost/python/detail/api_placeholder.hpp
include/boost/python/detail/borrowed_ptr.hpp
include/boost/python/detail/caller.hpp
include/boost/python/detail/config.hpp
include/boost/python/detail/construct.hpp
include/boost/python/detail/convertible.hpp
include/boost/python/detail/copy_ctor_mutates_rhs.hpp
include/boost/python/detail/cv_category.hpp
include/boost/python/detail/dealloc.hpp
include/boost/python/detail/decorated_type_id.hpp
include/boost/python/detail/decref_guard.hpp
include/boost/python/detail/def_helper.hpp
include/boost/python/detail/def_helper_fwd.hpp
include/boost/python/detail/defaults_def.hpp
include/boost/python/detail/defaults_gen.hpp
include/boost/python/detail/dependent.hpp
include/boost/python/detail/destroy.hpp
include/boost/python/detail/enable_if.hpp
include/boost/python/detail/exception_handler.hpp
include/boost/python/detail/force_instantiate.hpp
include/boost/python/detail/if_else.hpp
include/boost/python/detail/indirect_traits.hpp
include/boost/python/detail/invoke.hpp
include/boost/python/detail/is_auto_ptr.hpp
include/boost/python/detail/is_shared_ptr.hpp
include/boost/python/detail/is_wrapper.hpp
include/boost/python/detail/is_xxx.hpp
include/boost/python/detail/make_keyword_range_fn.hpp
include/boost/python/detail/make_tuple.hpp
include/boost/python/detail/map_entry.hpp
include/boost/python/detail/mpl_lambda.hpp
include/boost/python/detail/msvc_typeinfo.hpp
include/boost/python/detail/none.hpp
include/boost/python/detail/not_specified.hpp
include/boost/python/detail/nullary_function_adaptor.hpp
include/boost/python/detail/operator_id.hpp
include/boost/python/detail/overloads_fwd.hpp
include/boost/python/detail/pointee.hpp
include/boost/python/detail/prefix.hpp
include/boost/python/detail/preprocessor.hpp
include/boost/python/detail/python22_fixed.h
include/boost/python/detail/python_type.hpp
include/boost/python/detail/raw_pyobject.hpp
include/boost/python/detail/referent_storage.hpp
include/boost/python/detail/result.hpp
include/boost/python/detail/scope.hpp
include/boost/python/detail/sfinae.hpp
include/boost/python/detail/signature.hpp
include/boost/python/detail/string_literal.hpp
include/boost/python/detail/target.hpp
include/boost/python/detail/translate_exception.hpp
include/boost/python/detail/type_list.hpp
include/boost/python/detail/type_list_impl.hpp
include/boost/python/detail/type_list_impl_no_pts.hpp
include/boost/python/detail/unwind_type.hpp
include/boost/python/detail/unwrap_type_id.hpp
include/boost/python/detail/unwrap_wrapper.hpp
include/boost/python/detail/value_arg.hpp
include/boost/python/detail/value_is_shared_ptr.hpp
include/boost/python/detail/value_is_xxx.hpp
include/boost/python/detail/void_ptr.hpp
include/boost/python/detail/void_return.hpp
include/boost/python/detail/wrap_python.hpp
include/boost/python/detail/wrapper_base.hpp
include/boost/python/dict.hpp
include/boost/python/docstring_options.hpp
include/boost/python/enum.hpp
include/boost/python/errors.hpp
include/boost/python/exception_translator.hpp
include/boost/python/exec.hpp
include/boost/python/extract.hpp
include/boost/python/handle.hpp
include/boost/python/handle_fwd.hpp
include/boost/python/has_back_reference.hpp
include/boost/python/implicit.hpp
include/boost/python/import.hpp
include/boost/python/init.hpp
include/boost/python/instance_holder.hpp
include/boost/python/iterator.hpp
include/boost/python/list.hpp
include/boost/python/long.hpp
include/boost/python/lvalue_from_pytype.hpp
include/boost/python/make_constructor.hpp
include/boost/python/make_function.hpp
include/boost/python/manage_new_object.hpp
include/boost/python/module.hpp
include/boost/python/module_init.hpp
include/boost/python/numeric.hpp
include/boost/python/object.hpp
include/boost/python/object/add_to_namespace.hpp
include/boost/python/object/class.hpp
include/boost/python/object/class_detail.hpp
include/boost/python/object/class_metadata.hpp
include/boost/python/object/class_wrapper.hpp
include/boost/python/object/enum_base.hpp
include/boost/python/object/find_instance.hpp
include/boost/python/object/forward.hpp
include/boost/python/object/function.hpp
include/boost/python/object/function_doc_signature.hpp
include/boost/python/object/function_handle.hpp
include/boost/python/object/function_object.hpp
include/boost/python/object/inheritance.hpp
include/boost/python/object/inheritance_query.hpp
include/boost/python/object/instance.hpp
include/boost/python/object/iterator.hpp
include/boost/python/object/iterator_core.hpp
include/boost/python/object/life_support.hpp
include/boost/python/object/make_holder.hpp
include/boost/python/object/make_instance.hpp
include/boost/python/object/make_ptr_instance.hpp
include/boost/python/object/pickle_support.hpp
include/boost/python/object/pointer_holder.hpp
include/boost/python/object/py_function.hpp
include/boost/python/object/stl_iterator_core.hpp
include/boost/python/object/value_holder.hpp
include/boost/python/object/value_holder_fwd.hpp
include/boost/python/object_attributes.hpp
include/boost/python/object_call.hpp
include/boost/python/object_core.hpp
include/boost/python/object_fwd.hpp
include/boost/python/object_items.hpp
include/boost/python/object_operators.hpp
include/boost/python/object_protocol.hpp
include/boost/python/object_protocol_core.hpp
include/boost/python/object_slices.hpp
include/boost/python/opaque_pointer_converter.hpp
include/boost/python/operators.hpp
include/boost/python/other.hpp
include/boost/python/overloads.hpp
include/boost/python/override.hpp
include/boost/python/pointee.hpp
include/boost/python/proxy.hpp
include/boost/python/ptr.hpp
include/boost/python/pure_virtual.hpp
include/boost/python/raw_function.hpp
include/boost/python/refcount.hpp
include/boost/python/reference_existing_object.hpp
include/boost/python/register_ptr_to_python.hpp
include/boost/python/return_arg.hpp
include/boost/python/return_by_value.hpp
include/boost/python/return_internal_reference.hpp
include/boost/python/return_opaque_pointer.hpp
include/boost/python/return_value_policy.hpp
include/boost/python/scope.hpp
include/boost/python/self.hpp
include/boost/python/signature.hpp
include/boost/python/slice.hpp
include/boost/python/slice_nil.hpp
include/boost/python/ssize_t.hpp
include/boost/python/stl_iterator.hpp
include/boost/python/str.hpp
include/boost/python/suite/indexing/container_utils.hpp
include/boost/python/suite/indexing/detail/indexing_suite_detail.hpp
include/boost/python/suite/indexing/indexing_suite.hpp
include/boost/python/suite/indexing/map_indexing_suite.hpp
include/boost/python/suite/indexing/vector_indexing_suite.hpp
include/boost/python/tag.hpp
include/boost/python/to_python_converter.hpp
include/boost/python/to_python_indirect.hpp
include/boost/python/to_python_value.hpp
include/boost/python/tuple.hpp
include/boost/python/type_id.hpp
include/boost/python/with_custodian_and_ward.hpp
include/boost/python/wrapper.hpp
lib/libboost_python.a
lib/libboost_python.so
lib/libboost_python.so.%%BOOST_SHARED_LIB_VER%%
@dirrm include/boost/python/suite/indexing/detail
@dirrm include/boost/python/suite/indexing
@dirrm include/boost/python/suite
@dirrm include/boost/python/object
@dirrm include/boost/python/detail
@dirrm include/boost/python/converter
@dirrm include/boost/python