55 |
SRC_URI=( |
SRC_URI=( |
56 |
sourceforge://${PNAME}/${SRCFILE} |
sourceforge://${PNAME}/${SRCFILE} |
57 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
58 |
|
mirror://${PNAME}/${PNAME}-${PVER}-fix-macro-for-int128-detection.patch |
59 |
|
mirror://${PNAME}/${PNAME}-${PVER}-glibc218.patch |
60 |
) |
) |
61 |
|
|
62 |
UP2SEPERATOR="_" |
UP2SEPERATOR="_" |
289 |
== dev-util/boost-build-${PVER}" |
== dev-util/boost-build-${PVER}" |
290 |
} |
} |
291 |
|
|
292 |
|
src_prepare() |
293 |
|
{ |
294 |
|
munpack ${SRCFILE} || die |
295 |
|
cd ${SRCDIR} |
296 |
|
|
297 |
|
mpatch ${PNAME}-${PVER}-fix-macro-for-int128-detection.patch || die |
298 |
|
mpatch ${PNAME}-${PVER}-glibc218.patch || die |
299 |
|
} |
300 |
|
|
301 |
src_compile() |
src_compile() |
302 |
{ |
{ |
303 |
# bjam builded with gcc-4.2 segfaults without '-fno-strict-aliasing' |
# bjam builded with gcc-4.2 segfaults without '-fno-strict-aliasing' |
322 |
# --layout=system no longer adds the -mt suffix for multi-threaded libs. |
# --layout=system no longer adds the -mt suffix for multi-threaded libs. |
323 |
cd ${SRCDIR} |
cd ${SRCDIR} |
324 |
${bjam} \ |
${bjam} \ |
325 |
release \ |
variant=release \ |
326 |
debug-symbols=off \ |
debug-symbols=off \ |
327 |
runtime-link=shared \ |
runtime-link=shared \ |
328 |
link=shared,static \ |
link=shared \ |
329 |
threading=single,multi \ |
threading=multi \ |
330 |
-sPYTHON_ROOT=/usr \ |
python=$(get_python_version) \ |
331 |
-sPYTHON_VERSION=$(get_python_version) \ |
toolset=gcc \ |
|
-sTOOLS=gcc \ |
|
332 |
--prefix=${BINDIR}/usr \ |
--prefix=${BINDIR}/usr \ |
333 |
--layout=tagged \ |
--layout=system \ |
334 |
|| die |
|| die |
335 |
|
|
336 |
# build pyste |
# build pyste |