julia: fix i686-musl and ppc*-musl builds
These targets linking against libunwind also need libucontext but julia does not consider pkg-config and libunwind.pc
This commit is contained in:
parent
2a0939b430
commit
f92a746387
|
@ -65,9 +65,19 @@ aarch64*)
|
||||||
make_build_args+=" MARCH=armv8-a"
|
make_build_args+=" MARCH=armv8-a"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686-musl|ppc*-musl)
|
||||||
|
makedepends+=" libucontext-devel"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i '/^install:/s| \$(BUILDROOT)/doc.*||' Makefile
|
vsed -i '/^install:/s| \$(BUILDROOT)/doc.*||' Makefile
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686-musl|ppc*-musl)
|
||||||
|
# Make.inc does not use pkg-config libunwind.pc
|
||||||
|
vsed -i 's;-lunwind;& -lucontext;' Make.inc
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in New Issue