Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378211 - app-arch/bzip2: add USE=static-libs support
Summary: app-arch/bzip2: 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: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 09:07 UTC by Agostino Sarubbo
Modified: 2011-08-12 21:42 UTC (History)
0 users

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 2011-08-08 09:07:33 UTC
There is a static USE but a static-libs is installed also with USE="-static"

/usr/lib/libbz2.a
/usr/lib/libbz2.so
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-08 09:23:10 UTC
Because static != static-libs

USE=static means "build a statically linked bzip2 command" (which requires static-libs of course).
Comment 2 Agostino Sarubbo gentoo-dev 2011-08-08 09:44:44 UTC
(In reply to comment #1)
> Because static != static-libs
> USE=static means "build a statically linked bzip2 command" (which requires
> static-libs of course).

I know; I meant, if the static libs ( /usr/lib/libbz2.a in this case )is not needed when the USE="static" is not active, can be deleted without create another USEFLAG.

If the library needs also with USE="-static" please close as INVALID.
Comment 3 SpanKY gentoo-dev 2011-08-12 21:42:46 UTC
i needed this anyways, so bzip2-1.0.6-r3 now has USE=static-libs

in general, it's better to actually post patches than just mass request ...