Line
Link Here
|
0 |
-- mongodb-2.2.1.ebuild |
0 |
++ mongodb-2.2.1.ebuild |
Lines 58-63
Link Here
|
58 |
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch" |
58 |
epatch "${FILESDIR}/${PN}-2.2-r1-fix-scons.patch" |
59 |
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch" |
59 |
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch" |
60 |
epatch "${FILESDIR}/${PN}-2.2-r2-boost-1.50.patch" |
60 |
epatch "${FILESDIR}/${PN}-2.2-r2-boost-1.50.patch" |
|
|
61 |
epatch "${FILESDIR}/${P}-c++11.patch" |
61 |
|
62 |
|
62 |
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink |
63 |
# FIXME: apply only this fix [1] on x86 boxes as it breaks /usr/lib symlink |
63 |
# on amd64 machines [2]. |
64 |
# on amd64 machines [2]. |
Lines 68-73
Link Here
|
68 |
fi |
69 |
fi |
69 |
} |
70 |
} |
70 |
|
71 |
|
|
|
72 |
src_configure() { |
73 |
if has_version "dev-libs/boost[c++11(-)]"; then |
74 |
append-cxxflags -std=c++11 |
75 |
fi |
76 |
} |
77 |
|
71 |
src_compile() { |
78 |
src_compile() { |
72 |
escons ${scons_opts} all |
79 |
escons ${scons_opts} all |
73 |
} |
80 |
} |