Fakeroot has a debug compile flag. I suggest we add support for that using USE flag debug, patch follows: --- fakeroot-1.20.ebuild 2013-09-21 08:05:26.000000000 +0200 +++ /var/lib/layman/transmode/sys-apps/fakeroot/fakeroot-1.20.ebuild 2014-04-07 13:42:14.168030820 +0200 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/sys-apps/fakeroot/fakeroot-1.20.ebuild,v 1.1 2013/09/21 06:05:26 radhermit Exp $ EAPI=4 -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="A fake root environment by means of LD_PRELOAD and SysV IPC (or TCP) trickery" HOMEPAGE="http://packages.qa.debian.org/f/fakeroot.html" @@ -11,8 +11,8 @@ LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="acl static-libs test" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="acl static-libs test debug" DEPEND="acl? ( sys-apps/acl ) test? ( app-arch/sharutils ) @@ -26,7 +26,7 @@ src_configure() { export ac_cv_header_sys_acl_h=$(usex acl) - + use debug && append-cppflags "-DLIBFAKEROOT_DEBUGGING" econf \ $(use_enable static-libs static) }
looks fine
Committed without revbump and with IUSE flags sorted. Thanks + 10 May 2014; Markos Chandras <hwoarang@gentoo.org> fakeroot-1.20.ebuild: + Add debug USE flag. Patch by Joakim Tjernlund <Joakim.Tjernlund@transmode.se>. + Bug #507030 +