From 66062de198c4ec37c78f05828fe5b7772819ac48 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Wed, 30 Oct 2019 08:24:20 +0700 Subject: [PATCH] util-linux: compile with eudev lsblk needs udev support to read LABEL, UUID and filesystem without root permission. eudev is already a dependency of base-voidstrap and base-system, so most of people won't be effected by this new dependencies. However, base-minimal depends on util-linux but not eudev. --- srcpkgs/util-linux/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 9f912097d85..99cc99f8e16 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -1,9 +1,9 @@ # Template file for 'util-linux' pkgname=util-linux version=2.34 -revision=2 +revision=3 hostmakedepends="automake bison gettext-devel libtool pkg-config" -makedepends="libcap-ng-devel pam-devel readline-devel zlib-devel" +makedepends="libcap-ng-devel pam-devel readline-devel zlib-devel eudev-libudev-devel" checkdepends="ncurses" # Some tests require terminfo-entries short_desc="Miscellaneous linux utilities" maintainer="Enno Boland " @@ -40,8 +40,7 @@ do_configure() { --enable-fs-paths-extra=/usr/sbin:/usr/bin \ --enable-vipw --enable-newgrp --enable-chfn-chsh \ --with-systemdsystemunitdir=no \ - --without-udev --without-python \ - --enable-write + --without-python --enable-write } do_build() { @@ -152,4 +151,3 @@ libsmartcols_package() { vmove usr/lib/libsmartcols.so.* } } -