rebuild ffmpeg for libvpx-1.15.0; fix gcc-14 problem; add patch for new
[oi-userland.git] / components / sysutils / zrepl / patches / 01-install.patch
blob39c4dc195674206c62ccaa40dde045789d055c33
1 This patch adds an install target for illumos and OI
3 --- zrepl-0.5.0/Makefile-orig Sun Jan 9 05:51:00 2022
4 +++ zrepl-0.5.0/Makefile Wed Apr 20 16:44:47 2022
5 @@ -230,6 +230,15 @@
6 generate-platform-test-list:
7 $(GO_BUILD) -o $(ARTIFACTDIR)/generate-platform-test-list ./platformtest/tests/gen
9 +# Install target for illumos
10 +.PHONY: install
11 +install:
12 + $(GO_BUILD) -o "$(ARTIFACTDIR)/usr/bin/zrepl"
13 + $(ARTIFACTDIR)/usr/bin/zrepl gencompletion bash "$(ARTIFACTDIR)/usr/share/bash-completion/completions/zrepl"
14 + $(ARTIFACTDIR)/usr/bin/zrepl gencompletion zsh "$(ARTIFACTDIR)/usr/share/zsh/site-functions/_zrepl"
15 + rst2man.py docs/configuration/overview.rst $(ARTIFACTDIR)/usr/share/man/man5/zrepl.yml.5
16 + rst2man.py docs/usage.rst $(ARTIFACTDIR)/usr/share/man/man8/zrepl.8
18 COVER_PLATFORM_BIN_PATH := $(ARTIFACTDIR)/platformtest-cover-$(ZREPL_TARGET_TUPLE)
19 cover-platform-bin:
20 $(GO_ENV_VARS) $(GO) test $(GO_BUILDFLAGS) \