Lines 15-21
Link Here
|
15 |
mirror://gentoo/boost-patches-${PATCHSET_VERSION}.tbz2" |
15 |
mirror://gentoo/boost-patches-${PATCHSET_VERSION}.tbz2" |
16 |
LICENSE="freedist Boost-1.0" |
16 |
LICENSE="freedist Boost-1.0" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
IUSE="debug doc expat icu mpi tools" |
18 |
|
|
|
19 |
# prefix these with 'boost_libs_' if USE_EXPAND="BOOST_LIBS" is added to base profile |
20 |
IUSE_BOOST_LIBS=" |
21 |
+boost_libs_date_time |
22 |
+boost_libs_filesystem |
23 |
+boost_libs_graph |
24 |
+boost_libs_iostreams |
25 |
+boost_libs_program_options |
26 |
+boost_libs_python |
27 |
+boost_libs_regex |
28 |
+boost_libs_serialization |
29 |
+boost_libs_signals |
30 |
+boost_libs_test |
31 |
+boost_libs_thread |
32 |
+boost_libs_wave |
33 |
" |
34 |
|
35 |
IUSE="${IUSE_BOOST_LIBS} debug doc expat icu mpi tools" |
19 |
|
36 |
|
20 |
RDEPEND="icu? ( >=dev-libs/icu-3.3 ) |
37 |
RDEPEND="icu? ( >=dev-libs/icu-3.3 ) |
21 |
expat? ( dev-libs/expat ) |
38 |
expat? ( dev-libs/expat ) |
Lines 83-91
Link Here
|
83 |
OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" |
100 |
OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" |
84 |
fi |
101 |
fi |
85 |
|
102 |
|
86 |
if ! use mpi ; then |
103 |
! use mpi && OPTIONS="${OPTIONS} --without-mpi" |
87 |
OPTIONS="${OPTIONS} --without-mpi" |
104 |
|
88 |
fi |
105 |
for boostlib in ${IUSE_BOOST_LIBS}; do |
|
|
106 |
if ! use $boostlib; then |
107 |
OPTIONS="${OPTIONS} --without-$(echo $boostlib | sed 's:[+-]::;s:boost_libs_::')" |
108 |
fi |
109 |
done |
89 |
|
110 |
|
90 |
OPTIONS="${OPTIONS} --user-config=${S}/user-config.jam --boost-build=/usr/share/boost-build" |
111 |
OPTIONS="${OPTIONS} --user-config=${S}/user-config.jam --boost-build=/usr/share/boost-build" |
91 |
} |
112 |
} |