ruby: depend on libucontext-devel in ruby-devel when linking to it

This is necessary because it is then written in rbconfig and we
need to be able to link to it to build native extensions.
This commit is contained in:
q66 2020-04-07 05:18:02 +02:00
parent 0f6cffa403
commit 2b4a91bf1e

View file

@ -103,6 +103,9 @@ ruby-devel-doc_package() {
ruby-devel_package() {
depends="ruby-${version}_${revision} gmp-devel"
case "$XBPS_TARGET_MACHINE" in
ppc-musl) depends+=" libucontext-devel" ;;
esac
short_desc+=" - development files"
pkg_install() {
vmove usr/include