68 Commits

Author SHA1 Message Date
Jan Beich
b62e86faf9 devel/boost-libs: drop -no-integrated-as on aarch64
PR:		213867
Obtained from:	upstream
MFH:		2017Q1
2017-01-07 06:24:44 +00:00
Jan Beich
59e02117ae devel/boost-*: update to 1.63.0
Changes:	http://www.boost.org/users/history/version_1_63_0.html
PR:		215598
Exp-run by:	antoine
Approved by:	office (bapt)
MFH:		2017Q1
2017-01-06 08:45:03 +00:00
Jan Beich
4c537179c7 devel/boost-libs: -no-integrated-as builds faster
aarch64 doesn't have /usr/bin/as, so it's fine to use PATH

PR:		213867
2017-01-01 13:47:19 +00:00
Jan Beich
cfd3ef35a8 devel/boost-libs: oops, don't use NOT_FOR_ARCHS here
NOT_FOR_ARCHS only works if _REASON can be applied to all affected
architectures. If any other architecture doesn't share it one'd have to
add BROKEN_${ARCH}, anyway.
2017-01-01 12:56:57 +00:00
Jan Beich
4510e46438 devel/boost-libs: oops, work around ${CC} usage after r430247
$ make -V '${MAKE_ARGS:M--toolset*}'
/bin/sh: clang39: not found
make: "/usr/ports/Mk/Uses/compiler.mk" line 69: warning: "clang39 --version" returned non-zero status
make: "/usr/ports/Mk/Uses/compiler.mk" line 120: warning: "clang++39 -### /dev/null 2>&1" returned non-zero status
--toolset=gcc

PR:		213867
MFH:		2016Q4 (r430247 followup)
2017-01-01 11:45:28 +00:00
Jan Beich
29a68fac4c devel/boost-libs: unblock aarch64 and sparc64 builds
- aarch64 requires Clang with new enough integrated assembler
- sparc64 is no longer supported since we don't split context library
  into a separate package (unlike Debian)

PR:		213867 214942
MFH:		2016Q4
2017-01-01 10:50:47 +00:00
Jan Beich
23cd2e673e devel/boost-libs: unbreak consumers with libressl
$ make WITH=ASIO -C www/nghttp2
[...]
In file included from asio_common.cc:25:
In file included from ./asio_common.h:32:
In file included from ../src/includes/nghttp2/asio_http2.h:37:
In file included from /usr/local/include/boost/asio/ssl.hpp:19:
In file included from /usr/local/include/boost/asio/ssl/context.hpp:786:
/usr/local/include/boost/asio/ssl/impl/context.ipp:232:27: error: no member named 'SSL_CTX_get_default_passwd_cb_userdata' in the global namespace; did you mean 'SSL_CTX_set_default_passwd_cb_userdata'?
    void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
                        ~~^
/usr/local/include/openssl/ssl.h:1640:6: note: 'SSL_CTX_set_default_passwd_cb_userdata' declared here
void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
     ^

PR:		214793
Submitted by:	matthew@reztek.cz
Obtained from:	upstream (via Gentoo)
Approved by:	portmgr blanket
2016-11-24 02:30:37 +00:00
Jan Beich
a8713d15f4 devel/boost-*: update to 1.62.0
- Enable `long double` C99 math usage
- Switch 9.x back to building with GCC

Changes:	http://www.boost.org/users/history/
PR:		199601
Submitted by:	Chen Xu, bapt, amdmi3, truckman (based on)
Reviewed by:	rakuco (kde) (earlier version)
Exp-run by:	antoine (3 tries), truckman (consumers only, earlier versions)
Approved by:	bapt (office)
2016-11-23 12:45:46 +00:00
Jan Beich
7e06413d15 devel/boost-*: better integrate with Mk/*
PR:		199601
Submitted by:	bapt (based on)
Exp-run by:	antoine
2016-11-23 12:43:49 +00:00
Jan Beich
8c1bfc92e7 devel/boost-libs: drop compat links after r322328
PR:		199601
Suggested by:	bapt
Exp-run by:	antoine
2016-11-23 12:43:36 +00:00
Jan Beich
0e734ce9eb devel/boost-libs: drop old cross-build support after r421583
PR:		199601
Submitted by:	bapt
Exp-run by:	antoine
2016-11-23 12:43:25 +00:00
Jan Beich
07980ded29 devel/boost-libs: always verbose build after r421635
PR:		199601
Approved by:	portmgr blanket
2016-11-23 12:43:13 +00:00
Jan Beich
23a96f4a5f devel/icu: update to 58.1
Changes:	http://site.icu-project.org/download/58
PR:		214384
Exp-run by:	antoine
Approved by:	office (bapt)
2016-11-19 18:21:20 +00:00
Mark Linimon
d0ea37eb81 Mark as broken on aarch64.
Approved by:	portmgr (tier-2 blanket)
2016-11-15 05:24:26 +00:00
Tijl Coosemans
48f4591035 - Update devel/icu to 57.1.
- Clean up the Makefile.
- Follow some upstream recommendations (--with-data-packaging=archive,
  --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE).
- Patch makefiles to install static libraries with INSTALL_DATA so they
  aren't stripped.
- Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc.
- Fix endianness detection in ICU.  The code wanted to use BYTE_ORDER
  defined in machine/endian.h, but this isn't visible because ICU is
  compiled with _XOPEN_SOURCE.  Patch the code to use _BYTE_ORDER instead.
- Compile ICU with C++11 compiler to enable move constructors.
- Patch ICU to fix a problem with atomics in the case of a C++11 compiler
  without C++11 header <atomic> (like Clang on FreeBSD 9).
- Bump all ports that depend on it due to library version change.
- Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU
  pkgconfig files.
- Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs
  a C++11 runtime library now.  Add this to all ports that depend on it
  so their executables load the right libstdc++.so on FreeBSD 9.

PR:		205120
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-09-24 11:06:57 +00:00
Mathieu Arnold
7acca7e902 Bump PORTREVISION for the icu revert.
This time not bumping lang/php70, but devel/php70-intl which is the one
really depending on icu.

PR:		205120
With hat:	portmgr
Sponsored by:	Absolight
2016-07-06 22:10:14 +00:00
Pietro Cerutti
fb8d8ab5f9 devel/icu: bump PORTREVISION on dependent ports 2016-07-06 07:34:12 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Don Lewis
abd75dc85a Import upstream commit bae401b1eb0594932c4e780d496cba852c23b75f to
unbreak users of boost/asio/ssl when openssl is built without
SSLv3 support.

PR:		207429
2016-03-14 07:37:48 +00:00
Don Lewis
dd74126d73 Add a separate option to allow iconv support to be disabled, but leave
it enabled by default to avoid a regression in the science/orthanc unit
tests.  Set USES=iconv whenever ICONV is enabled, rather than only when
ICU is disabled.  With the default option settings, this will bring in
converters/iconv on FreeBSD 9, which will unbreak the failing unit tests
in science/orthanc.  At least one of the ICONV or ICU options must be set.

Fix PR 198658 in the default case by setting
BJAM_ARGS+=-sICONV_PATH=${ICONV_PREFIX} whenever iconv support is enabled,
not only when ICU is disabled as was done in r398027 (before that was broken
by r398060 and fixed again in the ports framework by r398258).

Pet portlint.

PR:		198658
2015-10-01 22:55:26 +00:00
Jan Beich
c81f84bcf4 devel/boost-*: convert to more option helpers
Approved by:	office (truckman, bapt) (maintainer)
Differential Revision:	https://reviews.freebsd.org/D3739
2015-09-27 21:58:31 +00:00
Don Lewis
b0fb1f5154 Unbreak the build when the ICU option is unset on FreeBSD 9.3.
USES must be set before including bsd.port.pre.mk, which is included
by boost-all/compiled.mk.  The easiest fix for the conditional
USES+=iconv being too late seems to be to use an option helper.
For consistency use an option helper for the LIB_DEPENDS.

PR:		203285
2015-09-27 08:33:59 +00:00
Don Lewis
85e7846967 Cherrypick five upstream commits to fix "unused typedef" warnings when
building with recent clang.  Four of these were included in the 1.56
release, the fourth was included in 1.59.  One of these needed the
addition of "|| defined(__clang__)" because the __GNUC_MINOR__ check
excluded clang.
2015-09-14 21:39:32 +00:00
Don Lewis
5286605cc4 Squelch an extremely verbose unused typdef warning that is triggered
when compiling code that uses the BOOST_STATIC_ASSERT() macro with
recent versions of clang.  Upstream has a slightly different fix in
their develop branch (removel of the __GNUC_MINOR__ check, which works
because clang claims to be __GNUC__ == 4), but it has not been merged
into the master branch.

This change reduces the size of the OpenOffice build log by 66%.
2015-09-10 15:21:05 +00:00
Hiroki Sato
39f3cbd235 Fix compiler warning. This patch has been already merged into trunk.
Obtained from:	https://svn.boost.org/trac/boost/ticket/8525
2015-09-07 20:38:33 +00:00
Baptiste Daroussin
75f74fde71 Bump portrevision after icu update 2015-04-23 21:27:01 +00:00
John Marino
5a1d3b3dd0 devel/boost-libs: Fix bad c++11 so it builds with gcc5
PR:		197594
Submitted by:	marino
Approved by:	maintainer timeout
2015-03-11 18:43:21 +00:00
Mark Linimon
7b1bb8fc0b The sbruno fix in 369325 worked not just for arm. Remove stale stanza. 2015-02-08 20:21:34 +00:00
Sean Bruno
26dbda5cc2 The boost-libs port fails on armv6 as it attempts to use the assembler directly
when the files contain pre-processor directives.

The attached patch passes these files through the compiler as is done in the
base system.

PR:		193836
Submitted by:	andrew
Approved by:	bapt (mentor)
2014-09-26 13:48:27 +00:00
Baptiste Daroussin
ad7c668fe7 Cleanup plist 2014-09-22 08:29:46 +00:00
Adam Weinberger
d1eadcfcab Fix typo. 2014-08-15 18:36:07 +00:00
Bryan Drewery
5c1f235cef - Fix build when using WITH_CCACHE_BUILD.
ccache's documentation says to set CCACHE_SLOPPINESS=time_macros and
  CFLAGS+= -fpch-preprocess (it's a magic check in ccache for the string),
  but doing these does not actually fix the build when files are cached.
  Disabling PCH for ccache still results in an 18 second build, down from 143,
  on a 12 core machine.
- While here, strip libraries with STRIP_CMD (not bumping rev as this is
  not significant enough to warrant a rebuild).
2014-06-13 20:31:50 +00:00
Baptiste Daroussin
2014e7c725 Disable ccache (it breaks with clang)
Reported by:	ale
2014-06-13 11:24:29 +00:00
Baptiste Daroussin
76198cacea Back port a bug fix from boost svn
Obtained from:	https://svn.boost.org/trac/boost/ticket/9421
2014-06-09 15:37:17 +00:00
Jung-uk Kim
644ca3f58b Fix several preprocessor warnings.
https://svn.boost.org/trac/boost/ticket/6142https://svn.boost.org/trac/boost/ticket/8368https://svn.boost.org/trac/boost/ticket/9397
2014-05-06 23:42:09 +00:00
Marius Strobl
52332900ad Pull in the following revisions from https://github.com/boostorg/, fixing
compilation with clang 3.4:
Commit: 6bb71fdd8f7cc346d90fb14beb38b7297fc1ffd9
Fixed incorrect initialization of 128-bit values, when no native support for
128-bit integers is available.
Commit: e4bde20f2eec0a51be14533871d2123bd2ab9cf3
More compilation fixes for the case when 128-bit integers are not supported.

PR:		187958
Approved by:	bapt (mentor)
Sponsored by:	Bally Wulff Games & Entertainment GmbH
2014-04-08 07:36:00 +00:00
Baptiste Daroussin
6e0c37827e Fix addition to PLIST_SUB 2014-04-03 21:26:54 +00:00
Baptiste Daroussin
24b8716f36 Remove from the package component that does not yet support cross building 2014-04-03 17:25:22 +00:00
Dimitry Andric
19b90b3c32 For clang, use the type of precompiled headers recommended by upstream
(generated by -emit-pch), instead of the deprecated ones (generated by
-emit-pth).

Approved by:	bapt
2014-02-13 19:42:23 +00:00
Baptiste Daroussin
776c8a3824 Update to boost 1.55.0
switch back to normal library naming
Add a compat symlink for .so.5
Use compiler.mk to detect compiler
Use a modern compiler (doesn't work with base gcc)
2014-02-07 11:43:02 +00:00
Kubilay Kocak
e180a475ca devel/boost-libs: Backport fix building test framework on non-x86 platforms
This change backports an upstream commit [1] to fix building of the test
framework on non-x86 systems [2] due to not #include'ing osreldate.h prior
to testing __FreeBSD_version.

[1] https://svn.boost.org/trac/boost/changeset/62780
[2] https://svn.boost.org/trac/boost/ticket/3897

PR:		ports/182549
Submitted by:	jhibbits
Reviewed by:	bapt
Approved by:	office@ (bapt)
2013-12-14 11:53:15 +00:00
Baptiste Daroussin
857aec5d6b Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1) 2013-09-20 17:03:26 +00:00
Marcus von Appen
821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Jung-uk Kim
53dde14379 Fix a minor security vulnerability.
http://www.boost.org/users/news/boost_locale_security_notice.html
2013-04-25 23:50:23 +00:00
Pietro Cerutti
03cceed935 - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)
Approved by:	portmgr
2013-02-14 09:42:12 +00:00
Baptiste Daroussin
7bcec844f7 Bump portrevision after the previous fix, as lots of user may have a runtime
problem with previous version and needs an update.

Reported by:	rakuco
2013-02-06 21:47:53 +00:00
Baptiste Daroussin
fc9dce17ab Add a patch to fix a std::runtime issue when building with customs locales
Reported by:	avg
Tested by:	avg
2013-02-06 14:36:02 +00:00
Baptiste Daroussin
4eb5d7165e Fix typo in option_define
Submitted by:	Kurt Jaeger <pi@opsec.eu>
2013-02-01 19:44:28 +00:00
Baptiste Daroussin
3f6692467b - 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)
2013-01-31 13:33:04 +00:00
Baptiste Daroussin
2ed39f40cb Chase icu, graphite2 and libexttextcat bump 2012-12-18 23:09:07 +00:00