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.
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.
I have added ncurses support in 2.1_p2, but it only appears to catch on in the static library.
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.
(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.