Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336901 - dev-util/cunit is missing ncurses support
Summary: dev-util/cunit is missing ncurses support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 470894
  Show dependency tree
 
Reported: 2010-09-12 10:01 UTC by Tom Hendrikx
Modified: 2013-10-09 19:51 UTC (History)
1 user (show)

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


Attachments
dev-util/cunit/cunit-2.1-r2.ebuild (cunit-2.1-r2.ebuild,990 bytes, text/plain)
2010-09-12 10:04 UTC, Tom Hendrikx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hendrikx 2010-09-12 10:01:56 UTC
Cunit has optional support for ncurses library, but the current ebuild does not install it. I tried to add it to the ebuild, but packages depending on cunit fail to build against it. I'm not sure what I'm doing wrong.

My ebuild is attached as a starting point.
Comment 1 Tom Hendrikx 2010-09-12 10:04:11 UTC
Created attachment 246952 [details]
dev-util/cunit/cunit-2.1-r2.ebuild

Current cunit ebuild, with ncurses USE flag and additional configure flags. As said, this does not work as expected, but reasons for that are unknown.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-21 17:23:17 UTC
I have added ncurses support in 2.1_p2, but it only appears to catch on in the static library.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-21 20:15:48 UTC
I don't think it's meant to be used outside the sources, e.g. for testing purposes. Whatever I try it fails to behave properly.
Comment 4 Julian Ospald 2013-10-09 19:51:15 UTC
(In reply to Jeroen Roovers from comment #3)
> I don't think it's meant to be used outside the sources, e.g. for testing
> purposes. Whatever I try it fails to behave properly.

I have a package that needs it, so I re-added it. Let's see how it works out. It seems it doesn't explicitly link against ncurses, but expects the packages to do that themselves which doesn't make a lot of sense, so I just hacked it with append-libs.

Blame me if this breaks reverse deps again.