ldm: use pre-build
This commit is contained in:
parent
8509d8501b
commit
c1fa4fa977
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ldm'
|
||||
pkgname=ldm
|
||||
version=0.6.1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="perl pkg-config"
|
||||
makedepends="libmount-devel libudev-devel libglib-devel cryptsetup-devel"
|
||||
|
@ -16,9 +16,6 @@ replaces="ldm-git>=0"
|
|||
pre_build() {
|
||||
# Don't include systemd service as default
|
||||
sed -i 's|install: all install-main install-systemd|install: all install-main|g' Makefile
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) export CFLAGS+=" -D__uid_t=uid_t -D__gid_t=gid_t" ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue