Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410267 - sci-libs/primegen-0.97-r2: Adding an soname USE Flag
Summary: sci-libs/primegen-0.97-r2: Adding an soname USE Flag
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Gentoo Science Mathematics related packages
Depends on:
Reported: 2012-03-30 19:02 UTC by Max Klinger
Modified: 2021-05-09 18:42 UTC (History)
1 user (show)

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

ebuild.patch (file_410267.txt,1.35 KB, text/plain)
2012-03-30 19:02 UTC, Max Klinger
makefile patch (file_410267.txt,682 bytes, text/plain)
2012-03-30 19:03 UTC, Max Klinger

Note You need to log in before you can comment on or make changes to this bug.
Description Max Klinger 2012-03-30 19:02:18 UTC
Created attachment 307229 [details]

I propose the following diff to the ebuild for primegen. It adds a sharedlib use flag that additionally builds a shared library. Since djb already writes about not having an so, i doubt it's worth asking upstream. He surely considered and decided against the option.

It would nevertheless be really handy to have a shared lib and creating it is easy. My motivation for this change was the plan to write a python wrapper for which a shared object library is mandatory.

Hope my ebuild isn't too bad, i've never done that before.
Comment 1 Max Klinger 2012-03-30 19:03:46 UTC
Created attachment 307231 [details]
makefile patch

The patch for the makefile referenced in the ebuild.
Comment 2 David Seifert gentoo-dev 2016-01-15 21:07:30 UTC
Dear Max,
if you are still interested in having a shared object library for primegen, then please join GitHub, fork the science-overlay and integrate your patch and send us a Pull Request.