commit:     f3c39033c18a29a9a5ee4ba8caaf1fb299fd3dd3
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Mon Dec 21 23:49:58 2020 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jan  3 08:19:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c39033

sys-apps/checkpolicy: move flex and bison to BDEPEND

Also remove the libsemanage dependency since it is not referenced
by the code.  Links against the libsepol static library but leave in
RDEPEND too.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 sys-apps/checkpolicy/checkpolicy-3.1.ebuild  | 12 +++++-------
 sys-apps/checkpolicy/checkpolicy-9999.ebuild | 12 +++++-------
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/sys-apps/checkpolicy/checkpolicy-3.1.ebuild 
b/sys-apps/checkpolicy/checkpolicy-3.1.ebuild
index 070a1f1418c..1b8381709ac 100644
--- a/sys-apps/checkpolicy/checkpolicy-3.1.ebuild
+++ b/sys-apps/checkpolicy/checkpolicy-3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -28,12 +28,11 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug"
 
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-       >=sys-libs/libsemanage-${SEMNG_VER}
-       sys-devel/flex
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+BDEPEND="sys-devel/flex
        sys-devel/bison"
 
-RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}"
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
 
 src_compile() {
        emake \
@@ -43,8 +42,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" \
-               install
+       default
 
        if use debug; then
                dobin "${S}/test/dismod"

diff --git a/sys-apps/checkpolicy/checkpolicy-9999.ebuild 
b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
index fe88e2f1c07..90907ec9a0d 100644
--- a/sys-apps/checkpolicy/checkpolicy-9999.ebuild
+++ b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -28,12 +28,11 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug"
 
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-       >=sys-libs/libsemanage-${SEMNG_VER}
-       sys-devel/flex
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+BDEPEND="sys-devel/flex
        sys-devel/bison"
 
-RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}"
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
 
 src_compile() {
        emake \
@@ -43,8 +42,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" \
-               install
+       default
 
        if use debug; then
                dobin "${S}/test/dismod"

Reply via email to