Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
WANT_AUTOMAKE="1.10" |
5 |
WANT_AUTOMAKE="1.10" |
6 |
|
6 |
|
7 |
inherit eutils autotools |
7 |
inherit eutils autotools versionator |
8 |
|
8 |
|
9 |
MY_P="${P}-2" |
9 |
MY_P="${P}-2" |
10 |
|
10 |
|
Lines 32-38
Link Here
|
32 |
} |
32 |
} |
33 |
|
33 |
|
34 |
src_compile() { |
34 |
src_compile() { |
35 |
econf `use_enable nls` || die |
35 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.34")" |
|
|
36 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
37 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
38 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
39 |
BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}" |
40 |
|
41 |
econf `use_enable nls` \ |
42 |
--with-boost=${BOOST_INC} \ |
43 |
--with-boost-libdir=${BOOST_LIB} |
44 |
|
36 |
emake || die |
45 |
emake || die |
37 |
} |
46 |
} |
38 |
|
47 |
|