summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-09-11 11:31:33 -0400
committerMike Gilbert <floppym@gentoo.org>2023-09-11 11:34:30 -0400
commitd46677fd864b30315423c8364ca44db2de98e2a1 (patch)
tree60317135606f0732a735e2676f20db6a32f499dd /sys-fs/mdadm
parentuse.mask: mask eudev useflag (diff)
downloadgentoo-d46677fd864b30315423c8364ca44db2de98e2a1.tar.gz
gentoo-d46677fd864b30315423c8364ca44db2de98e2a1.tar.bz2
gentoo-d46677fd864b30315423c8364ca44db2de98e2a1.zip
sys-fs/mdadm: clean up udev/static logic
Since eudev has been masked for removal, drop the related logic. Bug: https://bugs.gentoo.org/830485 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/mdadm-4.2-r2.ebuild (renamed from sys-fs/mdadm/mdadm-4.2-r1.ebuild)14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys-fs/mdadm/mdadm-4.2-r1.ebuild b/sys-fs/mdadm/mdadm-4.2-r2.ebuild
index fe1e3a8ea8aa..9dc8510225da 100644
--- a/sys-fs/mdadm/mdadm-4.2-r1.ebuild
+++ b/sys-fs/mdadm/mdadm-4.2-r2.ebuild
@@ -17,19 +17,13 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
IUSE="static systemd +udev"
-# Only sys-fs/eudev provides static-libs right now, so if you have systemd,
-# you need to choose between static or udev, as your udev won't have static libs.
-# bug #830485
-REQUIRED_USE="systemd? ( ?? ( static udev ) )"
+REQUIRED_USE="static? ( !udev )"
BDEPEND="app-arch/xz-utils
virtual/pkgconfig"
-DEPEND="udev? (
- static? ( !systemd? ( sys-fs/eudev[static-libs] ) )
- !static? ( virtual/libudev:= )
- )"
-RDEPEND=">=sys-apps/util-linux-2.16
- udev? ( !static? ( virtual/libudev:= ) )"
+DEPEND="udev? ( virtual/libudev:= )"
+RDEPEND="${DEPEND}
+ >=sys-apps/util-linux-2.16"
# The tests edit values in /proc and run tests on software raid devices.
# Thus, they shouldn't be run on systems with active software RAID devices.