Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322239 - sys-process/audit needs prelude USEFLAG
Summary: sys-process/audit needs prelude USEFLAG
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 14:09 UTC by Paul Seiferth
Modified: 2011-01-25 03:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Seiferth 2010-05-31 14:09:42 UTC
sys-process/audit needs a prelude USEFLAG to control prelude support. Right now there is just a hardcoded  "--without-prelude" in the src_compile method. 

Reproducible: Always

Steps to Reproduce:
1. emerge -pv sys-process/audit


Actual Results:  
No support for prelude.

Expected Results:  
Ability to turn off/on prelude support by USEFLAG.

Patch that include prelude USEFLAG in the ebuild. I use the new ebuild in my local overlay.



--- /usr/portage/sys-process/audit/audit-1.7.3.ebuild   2010-03-31 04:36:03.000000000 +0200
+++ /usr/local/portage/local-overlay/sys-process/audit/audit-1.7.3.ebuild       2010-05-31 15:57:07.000000000 +0200
@@ -11,13 +11,14 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 hppa ia64 ~mips ppc ~ppc64 sparc x86"
-IUSE="ldap"
+IUSE="ldap prelude"
 # Testcases are pretty useless as they are built for RedHat users/groups and
 # kernels.
 RESTRICT="test"

 RDEPEND=">=dev-lang/python-2.4
-               ldap? ( net-nds/openldap )"
+               ldap? ( net-nds/openldap )
+               prelude? ( dev-libs/libprelude )"
 DEPEND="${RDEPEND}
        dev-lang/swig
        >=sys-kernel/linux-headers-2.6.23"
@@ -61,7 +62,7 @@

 src_compile() {
        #append-flags -D'__attribute__(x)='
-       econf --sbindir=/sbin --without-prelude || die
+       econf --sbindir=/sbin $(use_with prelude) || die
        emake || die "emake failed"
 }
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-25 03:35:09 UTC
Implemented in 2.0.5.