--- /var/paludis/repositories/gentoo/dev-libs/boost/boost-1.35.0-r2.ebuild 2008-09-01 14:37:20.000000000 -0400 +++ /tmp/boost-1.35.0-r2.ebuild 2009-02-26 12:18:01.102986727 -0500 @@ -15,7 +15,22 @@ mirror://gentoo/boost-patches-${PATCHSET_VERSION}.tbz2" LICENSE="freedist Boost-1.0" SLOT="0" -IUSE="debug doc expat icu mpi tools" +# prefix these with 'boost_libs_' if USE_EXPAND="BOOST_LIBS" is added to base profile +IUSE_BOOST_LIBS=" + filesystem + iostreams + program_options + python + regex + serialization + signals + thread + wave + date_time + graph + test +" +IUSE="${IUSE_BOOST_LIBS} debug doc expat icu mpi tools" RDEPEND="icu? ( >=dev-libs/icu-3.3 ) expat? ( dev-libs/expat ) @@ -83,9 +98,18 @@ OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" fi - if ! use mpi ; then - OPTIONS="${OPTIONS} --without-mpi" - fi + ! use mpi && OPTIONS="${OPTIONS} --without-mpi" + ! use filesystem && OPTIONS="${OPTIONS} --without-filesystem" + ! use iostreams && OPTIONS="${OPTIONS} --without-iostreams" + ! use python && OPTIONS="${OPTIONS} --without-python" + ! use regex && OPTIONS="${OPTIONS} --without-regex" + ! use serialization && OPTIONS="${OPTIONS} --without-serialization" + ! use signals && OPTIONS="${OPTIONS} --without-signals" + ! use thread && OPTIONS="${OPTIONS} --without-thread" + ! use wave && OPTIONS="${OPTIONS} --without-wave" + ! use date_time && OPTIONS="${OPTIONS} --without-date_time" + ! use graph && OPTIONS="${OPTIONS} --without-graph" + ! use test && OPTIONS="${OPTIONS} --without-test" OPTIONS="${OPTIONS} --user-config=${S}/user-config.jam --boost-build=/usr/share/boost-build" }