diff --git a/srcpkgs/lvm2/template b/srcpkgs/lvm2/template index 376ca24b713..6c5cde07b95 100644 --- a/srcpkgs/lvm2/template +++ b/srcpkgs/lvm2/template @@ -13,7 +13,9 @@ configure_args="--disable-selinux --enable-readline --enable-pkgconfig --with-default-locking-dir=/run/lock/lvm --enable-lvmetad ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes" hostmakedepends="pkg-config" -makedepends="readline-devel libudev-devel>=183" +# By using eudev we avoid a cyclic dependency: +# device-mapper -> libudev -> cryptsetup -> device-mapper +makedepends="readline-devel eudev-libudev-devel" make_dirs=" /etc/lvm/archive 0755 root root /etc/lvm/backup 0755 root root"