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