Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289274 - dev-libs/libsigc++-2.2.4.2 needs static-libs use-flag
Summary: dev-libs/libsigc++-2.2.4.2 needs static-libs use-flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-16 07:42 UTC by Slava Gorbunov
Modified: 2011-03-08 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slava Gorbunov 2009-10-16 07:42:46 UTC
dev-libs/libsigc++-2.2.4.2 doesn't install static libraries by default.  EXTRA_ECONF='--enable-static' solves the problem, but this should be done by default (library ebuilds should install both static and dynamic libraries, since static libraries may be used, for example, for building programs to be distributed in binary form, which should not depend on uncommon libraries (or libraries with unstable ABI - almost all c++ libraries) at run-time).

Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-10-21 08:17:55 UTC
Sounds like a job for static-libs useflag.
Comment 2 Pacho Ramos gentoo-dev 2011-02-04 09:44:50 UTC
Do the rest of the team agree with adding a static-libs USE flag for this?
Comment 3 Pacho Ramos gentoo-dev 2011-03-08 13:47:21 UTC
+*libsigc++-2.2.9 (08 Mar 2011)
+
+  08 Mar 2011; Pacho Ramos <pacho@gentoo.org> libsigc++-1.0.4-r3.ebuild,
+  libsigc++-1.2.7.ebuild, +files/libsigc++-1.2.7-fix-install.patch,
+  +libsigc++-2.2.9.ebuild:
+  Version bump fixing gcc-4.6 build (bug #354277 by Ryan Hill) and allowing
+  building of static libs (bug #289274 by Slava Gorbunov), also simplify
+  src_configure phase. Some fixes for libsigc++-1.2.7: don't try to install
+  duplicated files and use proper automake version (bug #346949 by Sirko
+  Schroeder), bump to eapi3, handle debug USE flag in a better way, fix
+  pkg_config phase (it wasn't being executed at all). Set RDEPEND and DEPEND on
+  all ebuilds to make repoman happy.
+