Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 221245 Details for
Bug 306901
=dev-libs/boost-* add static-libs USE flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Simple patch (not fully working yet) - to give the idea
static-libs.diff (text/plain), 3.56 KB, created by
Maciej Mrozowski
on 2010-02-26 04:35:08 UTC
(
hide
)
Description:
Simple patch (not fully working yet) - to give the idea
Filename:
MIME Type:
Creator:
Maciej Mrozowski
Created:
2010-02-26 04:35:08 UTC
Size:
3.56 KB
patch
obsolete
>Index: boost-1.41.0-r3.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.41.0-r3.ebuild,v >retrieving revision 1.1 >diff -u -B -r1.1 boost-1.41.0-r3.ebuild >--- boost-1.41.0-r3.ebuild 21 Dec 2009 10:13:40 -0000 1.1 >+++ boost-1.41.0-r3.ebuild 26 Feb 2010 04:33:25 -0000 >@@ -13,7 +13,7 @@ > SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2" > LICENSE="Boost-1.0" > SLOT="$(get_version_component_range 1-2)" >-IUSE="debug doc +eselect expat icu mpi python test tools" >+IUSE="debug doc +eselect expat icu mpi python static-libs test tools" > > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" > >@@ -188,24 +188,27 @@ > > export BOOST_ROOT="${S}" > >+ LINK_TARGETS=shared >+ use static-libs && LINK_TARGETS+=,static >+ > einfo "Using the following command to build: " >- einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared" >+ einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi link=${LINK_TARGETS} runtime-link=shared" > > ${BJAM} ${NUMJOBS} -q -d+2 \ > gentoorelease \ > ${OPTIONS} \ >- threading=single,multi link=shared,static runtime-link=shared \ >+ threading=single,multi link=${LINK_TARGETS} runtime-link=shared \ > || die "building boost failed" > > # ... and do the whole thing one more time to get the debug libs > if use debug ; then > einfo "Using the following command to build: " >- einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared --buildid=debug" >+ einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi link=${LINK_TARGETS} runtime-link=shared --buildid=debug" > > ${BJAM} ${NUMJOBS} -q -d+2 \ > gentoodebug \ > ${OPTIONS} \ >- threading=single,multi link=shared,static runtime-link=shared \ >+ threading=single,multi link=${LINK_TARGETS} runtime-link=shared \ > --buildid=debug \ > || die "building boost failed" > fi >@@ -227,24 +230,24 @@ > export BOOST_ROOT="${S}" > > einfo "Using the following command to install: " >- einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install" >+ einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=single,multi link=${LINK_TARGETS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" install" > > ${BJAM} -q -d+2 \ > gentoorelease \ > ${OPTIONS} \ >- threading=single,multi link=shared,static runtime-link=shared \ >+ threading=single,multi link=${LINK_TARGETS} runtime-link=shared \ > --includedir="${D}/usr/include" \ > --libdir="${D}/usr/$(get_libdir)" \ > install || die "install failed for options '${OPTIONS}'" > > if use debug ; then > einfo "Using the following command to install: " >- einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi link=shared,static runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug" >+ einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=single,multi link=${LINK_TARGETS} runtime-link=shared --includedir=\"${D}/usr/include\" --libdir=\"${D}/usr/$(get_libdir)\" --buildid=debug" > > ${BJAM} -q -d+2 \ > gentoodebug \ > ${OPTIONS} \ >- threading=single,multi link=shared,static runtime-link=shared \ >+ threading=single,multi link=${LINK_TARGETS} runtime-link=shared \ > --includedir="${D}/usr/include" \ > --libdir="${D}/usr/$(get_libdir)" \ > --buildid=debug \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 306901
:
221243
| 221245