diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template index 2a82af060e4..137ed59325b 100644 --- a/srcpkgs/julia/template +++ b/srcpkgs/julia/template @@ -65,9 +65,19 @@ aarch64*) make_build_args+=" MARCH=armv8-a" ;; esac +case "$XBPS_TARGET_MACHINE" in +i686-musl|ppc*-musl) + makedepends+=" libucontext-devel" + ;; +esac 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() {