Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185683 - Add nocxx use flag to net-libs/courier-authlib
Summary: Add nocxx use flag to net-libs/courier-authlib
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-17 18:00 UTC by Laurence Withers
Modified: 2011-02-08 19:46 UTC (History)
2 users (show)

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


Attachments
Adds nocxx use flag to ebuild (ebuild.patch,700 bytes, patch)
2007-07-17 18:01 UTC, Laurence Withers
Details | Diff
Removes test targets requiring C++ from automake (0.59.2-no-cxx.patch,1.67 KB, patch)
2007-07-17 18:01 UTC, Laurence Withers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.