99 Commits

Author SHA1 Message Date
rsadowski
194112f1a7 enable boost-build
To make your boost.build executables b2 and bjam useful we have to install
some additional files.

Noticed by Ivan Krylov via openbsd@freenode. Thanks!

feedback from semarie@ and aja@, tweaks and ok sthen@
2019-01-03 07:29:58 +00:00
jca
f85e9e31c3 Drop bogus -mcpu=v7 on sparc64 (sparc64 == sparc V9)
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:35:41 +00:00
jca
0e2f9ca21d Fix Boost.Locale and unbreak on ports-gcc archs
Since the update to icu4c-63.1, icu4c uses char16_t and others from the
C++11 standard, but eg++-4.9 defaults to -std=gnu++98.

"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:34:27 +00:00
jca
91ba3d0980 Respect PORTPATH and pick up eg++ instead of base g++
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:31:02 +00:00
jca
dec9bb29a2 Print compile commands again (lost in the update to boost-1.65.1)
Without this debugging problems is almost impossible.
"looks good" rsadowski@, ok Brad (maintainers)
2018-12-24 23:27:51 +00:00
sthen
84b2eeef2b Add support for boost contexts on i386, arm, amd64, from otto@.
As this brings new libraries on supported architectures, split the
package into -main and -md subpackages, keeping plist updates simpler
and avoiding need for knowledge of supported arches in dependent
ports. Also means that if future ports start picking up the MD
libraries they will be easier to find. (Thanks aja@ for running a
bulk build and check-lib-depends run with an earlier version to
make sure existing ports don't pick up the new libs.)

ok rsadowski@

Bumps for ports using boost as LIB_DEPENDS or RUN_DEPENDS to
follow.
2018-12-13 19:52:46 +00:00
sthen
5dbf823bb7 set -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR in archivers/innoextract
to unbreak with new libc++, newer boost is likely to fix this so add a
comment in devel/boost/Makefile
2018-09-11 19:26:14 +00:00
kirby
7f964a3696 enable Unicode/ICU support in Regex
bulk build on macppc, i386 and amd64 by myself
ok rsadowsk@ (maintainer)
2018-08-23 16:38:10 +00:00
rsadowski
5126c24bf7 Update boost to 1.66.0
Main port changes:
- Add myself as second maintainer
- Licence tag from MIT-like to boost

Changelog:

http://www.boost.org/users/history/version_1_66_0.html

ok jca@ and landry@ (Tested in a bulk, thanks!)
"Fine with me" from Brad (maintainer)
2018-01-31 21:54:49 +00:00
rsadowski
90658284fb Update boost to 1.65.1
Notable port changes.

- Bump all shared libs from 6.0 to 7.0.
- COMPILER= base-clang ports-gcc (Replace ONLY_FOR_ARCHS)
- Remove our user.hpp. Boost detects all compiler features correct.
- Drop all -Wno-* options.
- Drop fiber support. It doesn't build with GCC
- Drop stacktrace support. It doesn't build on arm (spotted by jca@)
- b2 doesn't seem to respect python parameter, we need to run twice with
  separate python environments to build both shared libs.
- Zap trailing whitespace
- Add py-numpy as bdep
- Disable precompiled header
- cleanup BJAM_CONFIG
- Drop "-d+2" debug.

Survived a macppc bulk by kirby@
Survived a amd64 bulk by landry@
Build test on sparc64 and arm by jca@ (and many other tests)

Many thanks to all those who made it possible

Final ok landry@, jca@
2017-12-26 19:18:49 +00:00
espie
178d9e13a9 restore sensible permissions to a few wrkdirs. 2017-11-25 13:27:48 +00:00
espie
5fe763a76e Fix the clang config, really configure for INT128, using clang built-in
defines.

This lets i386 build clang.
2017-07-27 17:45:07 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
espie
7448552864 the tests are wrong, but it's simpler to define the annoying constant to 0 2017-06-04 19:05:03 +00:00
espie
b5b3ec374e clean up Vadim's mess, reorg file so that what we're doing is actually
documented
2017-06-03 14:59:11 +00:00
espie
582f69183e fix nasty clang bug that prevented facter from building 2017-06-02 02:21:06 +00:00
zhuk
c8e7b74b40 Better Clang support for Boost. Allows facter & friends to be built.
To be revisited later if something else will break under CMake.

a lot of valuable input from espie@
2017-05-30 18:00:53 +00:00
espie
8b0722750f rename COMPILER as TOOLSET in prevision of impending change 2017-05-30 07:54:36 +00:00
espie
ce0bafadca improve the clang config: boost hardcodes __attribute__((unused)) on the
wrong compiler, so re-add it (dependent ports will whine a lot less)
tell boost we have threads and int128 (there's not issue about dual
compiler for clang)
2017-05-24 08:30:20 +00:00
espie
48f8c79870 first try at a clang compile, reuse gcc config so that stuff that builds
does build.

todo:
- enable more stuff
- look closer at the tooling, needs something like the gcc config change

but at least, this allows us to look at the remaining ports.
2017-05-21 11:22:31 +00:00
espie
1727b3f900 do not redefine unix if it's already there, silences some clang warnings 2017-05-21 09:49:30 +00:00
espie
1eadd963d4 make sure the one test that boost fails on clang conforms to what gcc does 2017-05-20 10:32:43 +00:00
sthen
7e44b3e4be Add ${CLANG_ARCHS} to "ONLY_FOR_ARCHS = ${GCC4_ARCHS}" lines to give them
a chance on aarch64.
2017-04-19 11:16:03 +00:00
sthen
7b9fdbb2c9 use LIBCXX 2017-04-10 11:45:22 +00:00
naddy
f306ea3688 Honor CXX, CXXFLAGS.
(1) Pass CXX and CXXFLAGS to the configure script run.
(2) Split out the build of the bjam tool from the bootstrap procedure.
(3) Tell the main build to use CXX via user-config.jam.

ok Brad, jca@
2017-03-07 15:54:05 +00:00
naddy
1db8edffc5 replace libiconv module 2016-09-13 14:40:29 +00:00
dcoppa
6dbc4cc166 boost does not like mixing different compilers at build and compile
time.

We build boost itself with gcc-4.2.1 from base, which doesn't support
the integer scalar type __int128, and this results in a
/usr/local/include/boost/config/user.hpp lacking the "BOOST_HAS_INT128"
define.

When compiling something that depends on boost using a newer compiler
like gcc-4.9 or clang, a code snippet in
/usr/local/include/boost/config/compiler/{clang,gcc}.hpp reactivates
__int128 support, but the code containing typedef declarations
inside /usr/local/include/boost/config/suffix.hpp is never reached,
because /usr/local/include/boost/config/user.hpp lacks "BOOST_HAS_INT128".
Hence, the following errors occur:

/usr/local/include/boost/type_traits/is_integral.hpp:72:1: error: 'int128_type' is not a member of 'boost'
/usr/local/include/boost/type_traits/is_integral.hpp:73:1: error: 'uint128_type' is not a member of 'boost'

As a temporary band-aid, completely disable __int128 support on
OpenBSD.

OK jca@, sthen@
2016-06-01 14:56:54 +00:00
dcoppa
00bbf9b619 Fix Boost.Asio, broken after the removal of SSLv3 support:
/usr/local/include/boost/asio/ssl/impl/context.ipp: In constructor 'boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)':
/usr/local/include/boost/asio/ssl/impl/context.ipp:93: error: '::SSLv3_method' has not been declared
/usr/local/include/boost/asio/ssl/impl/context.ipp:96: error: '::SSLv3_client_method' has not been declared
/usr/local/include/boost/asio/ssl/impl/context.ipp:99: error: '::SSLv3_server_method' has not been declared

OK jca@
2016-05-27 22:35:40 +00:00
jca
8495a25bd4 Unbreak boost on (at least) alpha, hppa and sparc64
- ensure we don't build the 'context' and 'coroutine' libs, they are not
  portable and the latter depends on the former
- don't use the 'gcc_sparc' backend in Boost.atomic, for it doesn't
  build; use the generic gcc backend based on __sync_*
- stop tweaking cc -march / -mcpu values; this is not desirable on any
  arch and it breaks on sparc64 due to a bogus -mcpu=c3 default
- don't attempt to force -m32 / -m64 flags, this breaks at least alpha
  (64 bits but doesn't understand -m64)

alpha, hppa & sparc64 tests by landry@, amd64 bulk by ajacoutot@
ok jasper@
2015-08-03 18:29:30 +00:00
jasper
c37428a718 don't add -m32 to compiler flags; see if this unbreaks hppa 2015-07-10 08:13:46 +00:00
jasper
e20801e7cd submitted upstream 2015-07-10 07:25:06 +00:00
ajacoutot
ce94d7b0ef Garbage collect some patches that looks uneeded. Survived a bulk.
If it ends up we have some runtime fallout because of these, we'll fix it and
document the patch.

from Brad (maintainer)
jasper@ had the same diff
2015-07-05 15:15:58 +00:00
jasper
61585ccce9 - update to boost 1.58.0
earlier diff looked good to brad
tested in multiple bulks by aja@ and me
ok aja@ robert@
2015-07-01 08:41:59 +00:00
ajacoutot
56e458b4b5 machine/endian.h -> sys/endian.h 2015-05-01 14:47:29 +00:00
brad
2ece201d52 Remove some chunks of the patch now that _POSIX_VERSION has been
bumped higher.
2015-01-05 21:14:46 +00:00
kirby
fe0d0227dc add bzip2 support for boost-iostreams.
needed for future releases of games/wesnoth.
ok brad@ (maintainer)
2014-11-15 08:17:56 +00:00
ajacoutot
aa6c4f1dcc Re-add python3 support properly.
maintainer timeout
ok nigel@
2013-12-25 08:49:47 +00:00
ajacoutot
61e02762dc Revert sure... expect the bump! 2013-12-20 16:42:34 +00:00
ajacoutot
acab5fb334 Revert previous (py3 support); it requires more work and breaks some ports. 2013-12-20 16:37:16 +00:00
ajacoutot
a4784e4871 Add python3 support.
ok brad@ (maintainer)
2013-12-17 07:03:38 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
dcoppa
b83f1d7eed Add libboost_locale-mt to the boost build.
ok brad@ (maintainer)
2013-09-22 14:31:24 +00:00
brad
5f3151d7e6 Let Boost know OpenBSD has certain POSIX features but Boost does
not enable the use of said features because the POSIX feature
groups are not enabled yet due to missing functions/features
within respective feature groups.

ok sthen@
2013-04-12 01:11:32 +00:00
brad
dfacbd3e97 Mention using non-C locales. 2013-03-26 20:19:04 +00:00
brad
12677ce7ee Sync boost-filesystem library with upstream and add OpenBSD to the UTF-8
codepath to fix a run-time issue for apps using boost-filesystem with apps
failing with.. "std::runtime_error: locale::facet::_S_create_c_locale name not valid"

Reported by/tested/Ok gonzalo@ bentley@
2013-03-26 20:15:10 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
brad
81beb76314 Update to boost 1.53.0.
Mostly from Amit Kulkarni.

ok sthen@
2013-03-08 01:21:37 +00:00
landry
b40d380960 Remove BROKEN-hppa marker, not needed anymore since gcc is now built
without -pie. At least boost builds fine without ICE. Tested on hppa.ports.
2012-12-10 13:37:57 +00:00
brad
ccc581fc0d Mostly cosmetic tweaking and sync distinfo.
ok ajacoutot@
2012-12-09 08:23:31 +00:00