Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 446722

Summary: net-libs/serf : add USE=static-libs support
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Status: RESOLVED FIXED    
Severity: enhancement CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2012-12-10 12:16:51 UTC
We need to have USE=static-libs because this package install '.a' files:

/usr/lib64/libserf-1.la                                                                                                                                                             
/usr/lib64/libserf-1.a                                                                                     
/usr/lib64/libserf-1.so.0.0.0                                                                              
/usr/lib64/libserf-1.so                                                                                    
/usr/lib64/libserf-1.so.0
Comment 1 Sergey Popov gentoo-dev 2012-12-10 15:37:23 UTC
+  10 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> serf-1.1.1.ebuild:
+  Add static-libs USE flag, wrt bug #446722

Unfortunately, inspecting package's build system gives me no clues where static linking is enabled, so i add ugly hack, that removes static libs(and apropriate .la files) when USE='-static-libs'. If somebody has better solution - feel free to revert my code completely