[PATCH 86/94] dev-util/mig: improve dependencies

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <275ae14cee7a5fadd21ca923fdda066a996bc971.1774994369.git.sam@gentoo.org>
From: Andreas K. Hüttel <[email protected]>

Signed-off-by: Andreas K. Hüttel <[email protected]>
Signed-off-by: Sam James <[email protected]>
---
 dev-util/mig/mig-1.8_p20231217.ebuild | 12 +++++++-----
 dev-util/mig/mig-9999.ebuild          | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/dev-util/mig/mig-1.8_p20231217.ebuild b/dev-util/mig/mig-1.8_p20231217.ebuild
index f070ac7da5046..3367b7017cecf 100644
--- a/dev-util/mig/mig-1.8_p20231217.ebuild
+++ b/dev-util/mig/mig-1.8_p20231217.ebuild
@@ -11,11 +11,6 @@ HOMEPAGE="https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html"
 if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/mig.git"
 	inherit autotools git-r3
-
-	BDEPEND="
-		sys-devel/bison
-		sys-devel/flex
-	"
 elif [[ ${PV} == *_p* ]] ; then
 	MY_PV=${PV%_p*}+git${PV#*_p}
 	MY_P=${PN}_${MY_PV}
@@ -33,10 +28,17 @@ LICENSE="GPL-2 BSD-2"
 SLOT="0"
 [[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
 
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+"
+
 if is_crosspkg ; then
 	DEPEND+=" cross-${CTARGET}/gnumach"
 fi
 
+RDEPEND="dev-lang/perl"
+
 src_prepare() {
 	default
 	[[ ${PV} == 9999 ]] && eautoreconf
diff --git a/dev-util/mig/mig-9999.ebuild b/dev-util/mig/mig-9999.ebuild
index 6725c0acd2dc4..39ef312f20cdc 100644
--- a/dev-util/mig/mig-9999.ebuild
+++ b/dev-util/mig/mig-9999.ebuild
@@ -11,11 +11,6 @@ HOMEPAGE="https://www.gnu.org/software/hurd/microkernel/mach/mig/gnu_mig.html"
 if [[ ${PV} == 9999 ]] ; then
 	EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/mig.git"
 	inherit autotools git-r3
-
-	BDEPEND="
-		sys-devel/bison
-		sys-devel/flex
-	"
 elif [[ ${PV} == *_p* ]] ; then
 	MY_PV=${PV%_p*}+git${PV#*_p}
 	MY_P=${PN}_${MY_PV}
@@ -33,10 +28,17 @@ LICENSE="GPL-2 BSD-2"
 SLOT="0"
 [[ ${PV} != 9999 ]] && KEYWORDS="~amd64 ~x86"
 
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+"
+
 if is_crosspkg ; then
 	DEPEND+=" cross-${CTARGET}/gnumach"
 fi
 
+RDEPEND="dev-lang/perl"
+
 src_prepare() {
 	default
 	[[ ${PV} == 9999 ]] && eautoreconf
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.