| Summary: | dev-libs/boost: add useflags to enable/disable boost libraries | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hanno Zysik (geki) <h.mth> |
| Component: | New packages | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | alecm_88, bugzie, cpp+disabled, hwoarang, nikoli, SebastianLuther |
| Priority: | High | ||
| Version: | 10.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://forums.gentoo.org/viewtopic-t-819332.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Hanno Zysik (geki)
2010-03-19 12:54:43 UTC
If you do not want to spam IUSE with options there is an alternative. An example is the apache2 package. It has an environment variable to set its modules to be built. There are surely even other ways possible. $ grep ^APACHE /etc/make.conf APACHE2_MODULES="actions alias auth_basic ..." APACHE2_MPMS="worker" I finally managed to create a boost eclass with use flags for boost libraries. ebuild: http://code.google.com/p/gekis-playground/source/browse/trunk/dev-libs/boost/boost-1.47.0-r1.ebuild eclass: http://code.google.com/p/gekis-playground/source/browse/trunk/eclass/boost-monolithic.eclass The regex DEPEND may be moved to the ebuild. The REQUIRED_USE likewise. Improvements and ideas are welcomed! I will not add eselect support. That is up to whoever wants that! ___ The boost headers should be in an own ebuild for not copying each header file into the image separately. Sane projects may require boost headers but no boost libraries. ebuild: http://code.google.com/p/gekis-playground/source/browse/trunk/dev-libs/boost-headers/boost-headers-1.47.0.ebuild eclass: http://code.google.com/p/gekis-playground/source/browse/trunk/eclass/boost-headers.eclass *** This bug has been marked as a duplicate of bug 260404 *** |