libblockdev: fix build

This commit is contained in:
Helmut Pozimski 2019-10-31 08:58:52 +01:00
parent 3d3b92e63d
commit 2d689e37be
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="cryptsetup-devel device-mapper-devel dmraid-devel libbytesize-devel
libglib-devel libkmod-devel libparted-devel nss-devel
volume_key-devel libyaml-devel"
volume_key-devel libyaml-devel pcre2-devel"
short_desc="Library for manipulating block devices"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
@ -17,6 +17,8 @@ checksum=55ce2ab0f598e34dadb11563d62582c52abaf6daf71c6318f215aab99e788795
conf_files="/etc/libblockdev/conf.d/10-lvm-dbus.cfg
/etc/libblockdev/conf.d/00-default.cfg"
CFLAGS="-Wl,-lpcre2-8"
#ndctl not present on ppc
case "$XBPS_TARGET_MACHINE" in
ppc|ppc-musl)