Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446722 - net-libs/serf : add USE=static-libs support
Summary: net-libs/serf : add USE=static-libs support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 12:16 UTC by Agostino Sarubbo
Modified: 2012-12-10 15:37 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 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