vagrant: fix musl build
This commit is contained in:
parent
eb602d67bb
commit
3cd5f02b7b
|
@ -14,14 +14,8 @@ distfiles="https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz"
|
|||
checksum=34fce02219c67174457a6f8750063047f6c29b7148e425e4f3647cb80b8a5b2e
|
||||
nocross=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
broken=https://build.voidlinux.org/builders/x86_64-musl_builder/builds/47636/steps/shell_3/logs/stdio
|
||||
;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
vsed -i 's|, "< 3\.1"||g' vagrant.gemspec
|
||||
vsed -e 's|, "< 3\.1"||g' -i vagrant.gemspec
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -60,4 +54,8 @@ do_install() {
|
|||
find ${DESTDIR} -type d -name doc -print0|xargs -0 rm -rf --
|
||||
find ${DESTDIR} -type d -name ports -print0|xargs -0 rm -rf --
|
||||
rm -r ${DESTDIR}/usr/lib/vagrant/cache
|
||||
|
||||
# XXX: work around bad permissions
|
||||
chmod 644 ${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-3.23.0/lib/google/protobuf.rb \
|
||||
${DESTDIR}/usr/lib/vagrant/gems/google-protobuf-3.23.0/lib/google/protobuf/*.rb
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue