From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5C18A1382C5 for ; Sun, 3 Jan 2021 08:21:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8787E0828; Sun, 3 Jan 2021 08:21:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F8F5E0828 for ; Sun, 3 Jan 2021 08:21:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CE07340F3B for ; Sun, 3 Jan 2021 08:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7F5F489 for ; Sun, 3 Jan 2021 08:20:59 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1609661988.f3c39033c18a29a9a5ee4ba8caaf1fb299fd3dd3.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/checkpolicy/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/checkpolicy/checkpolicy-3.1.ebuild sys-apps/checkpolicy/checkpolicy-9999.ebuild X-VCS-Directories: sys-apps/checkpolicy/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: f3c39033c18a29a9a5ee4ba8caaf1fb299fd3dd3 X-VCS-Branch: master Date: Sun, 3 Jan 2021 08:20:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d4d5839-6858-4c5e-8280-8b6d6274d5f2 X-Archives-Hash: a7f33ad02c4ba98282e8b0b4c6c088d0 commit: f3c39033c18a29a9a5ee4ba8caaf1fb299fd3dd3 Author: David Michael gmail com> AuthorDate: Mon Dec 21 23:49:58 2020 +0000 Commit: Jason Zaman gentoo 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 gmail.com> Signed-off-by: Jason Zaman 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"