Lines 18-24
LICENSE="Boost-1.0"
Link Here
|
18 |
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 |
18 |
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 |
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt" |
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris ~x86-winnt" |
20 |
|
20 |
|
21 |
IUSE="context debug doc icu +nls mpi python static-libs +threads tools" |
21 |
IUSE="c++11 context debug doc icu +nls mpi python static-libs +threads tools" |
22 |
|
22 |
|
23 |
RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] ) |
23 |
RDEPEND="icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] ) |
24 |
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] ) |
24 |
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] ) |
Lines 163-170
src_configure() {
Link Here
|
163 |
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec |
163 |
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec |
164 |
fi |
164 |
fi |
165 |
|
165 |
|
166 |
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard. |
166 |
# Allow user choice of C++ 11 or 98 standards. |
167 |
append-cxxflags -std=gnu++98 |
167 |
# Modern compilers use C++ 11 by default and Boost |
|
|
168 |
# compiled with 98 standards causes build failures |
169 |
append-cxxflags -std=$(usex c++11 c++11 gnu++98 ) |
170 |
|
168 |
|
171 |
|
169 |
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr" |
172 |
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr" |
170 |
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off" |
173 |
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off" |