Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185683

Summary: Add nocxx use flag to net-libs/courier-authlib
Product: Gentoo Linux Reporter: Laurence Withers <l>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: fauli, flameeyes
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds nocxx use flag to ebuild
Removes test targets requiring C++ from automake

Description Laurence Withers 2007-07-17 18:00:51 UTC
net-libs/courierauthlib can be compiled without C++, but you lose two tests (one for the bdb module and one for the gdbm module). Since people might want to run those tests I added a `nocxx' use flag which specifically disables them.

There are two attached patches: one is against the ebuild and the other modifies the automake files to remove the test targets requiring C++.
Comment 1 Laurence Withers 2007-07-17 18:01:27 UTC
Created attachment 125185 [details, diff]
Adds nocxx use flag to ebuild
Comment 2 Laurence Withers 2007-07-17 18:01:55 UTC
Created attachment 125186 [details, diff]
Removes test targets requiring C++ from automake
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-06-09 09:51:41 UTC
no* USE flags are strongly discouraged, so adding nocxx is a bad idea.  
Comment 4 Hanno Böck gentoo-dev 2011-02-08 19:46:00 UTC
I'd prefer not to add this to the ebuild. If you want this, please ask upstream to make the tests optional and preferrably automatically disable them when c++ is not available.