Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753251 - sys-libs/libselinux-3.1: fix EAPI 7 dependencies
Summary: sys-libs/libselinux-3.1: fix EAPI 7 dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-06 00:02 UTC by David Michael
Modified: 2020-11-16 05:38 UTC (History)
1 user (show)

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 David Michael 2020-11-06 00:02:43 UTC
The EAPI 7 bump with version 3.1 did not define BDEPEND, so CBUILD tools were left in DEPEND.  Please move pkgconfig and swig to BDEPEND since they must be executed natively and should not be cross-compiled.

--- sys-libs/libselinux/libselinux-3.1.ebuild
+++ sys-libs/libselinux/libselinux-3.1.ebuild
@@ -40,8 +40,8 @@
 		ruby_targets_ruby27? ( dev-lang/ruby:2.7 )
 	)
 	elibc_musl? ( sys-libs/fts-standalone )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
 	python? ( >=dev-lang/swig-2.0.9 )
 	ruby? ( >=dev-lang/swig-2.0.9 )"
Comment 1 Larry the Git Cow gentoo-dev 2020-11-16 05:38:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0604960a0900547f065083a692a6b42bf713a6

commit de0604960a0900547f065083a692a6b42bf713a6
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2020-11-16 05:35:25 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2020-11-16 05:36:13 +0000

    sys-libs/libselinux: update BDEPEND
    
    The EAPI 7 bump with version 3.1 did not define BDEPEND, so CBUILD tools
    were left in DEPEND. This moves pkgconfig and swig to BDEPEND since they
    must be executed natively and should not be cross-compiled.
    
    Closes: https://bugs.gentoo.org/753251
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 .../libselinux/{libselinux-3.1.ebuild => libselinux-3.1-r1.ebuild}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)