ProcDump-for-Linux: Fix aarch64 build

Conditionally apply musl patch to fix aarch64

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-11-24 11:58:51 -06:00 committed by Leah Neukirchen
parent 099983f7c2
commit 7a0e902216
2 changed files with 6 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'ProcDump-for-Linux'
pkgname=ProcDump-for-Linux
version=1.0.1
revision=2
revision=3
build_style=gnu-makefile
makedepends="zlib-devel"
depends="gdb"
@ -12,8 +12,11 @@ homepage="https://github.com/Microsoft/ProcDump-for-Linux"
distfiles="https://github.com/Microsoft/${pkgname}/archive/${version}.tar.gz"
checksum=284b92a83ea7763b3edb5a300b8ef97c2c2a4a69c2efaca4822423b71c605a14
case "$XBPS_TARGET_MACHINE" in
aarch64*) nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/22835/steps/shell_3/logs/stdio";;
case "$XBPS_TARGET_LIBC" in
musl)
pre_build() {
patch -Np0 < "$FILESDIR"/musl.patch
}
esac
post_install() {