diff --git a/srcpkgs/vagrant/template b/srcpkgs/vagrant/template index cd207be0d2d..d2599fdb67a 100644 --- a/srcpkgs/vagrant/template +++ b/srcpkgs/vagrant/template @@ -20,8 +20,13 @@ post_extract() { } do_install() { + local dc=yes + # https://build.voidlinux.org/builders/x86_64-musl_builder/builds/50813/steps/shell_3/logs/stdio + if [ "$XBPS_TARGET_LIBC" = musl ]; then + dc= + fi GEM_PATH=$DESTDIR/usr/lib/vagrant GEM_HOME="$GEM_PATH" \ - gem install vagrant-$version.gem --no-document -- --disable-clean + gem install vagrant-$version.gem --no-document -- ${dc:+--disable-clean} vlicense LICENSE @@ -57,6 +62,5 @@ do_install() { rm -r ${DESTDIR}/usr/lib/vagrant/cache # XXX: work around bad permissions - chmod 644 ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google/protobuf.rb \ - ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google/protobuf/*.rb + chmod -R go-wx ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-*/lib/google }