~kennylevinsen/public-inbox

poweralertd: Fix cross compilation v1 APPLIED

~thibautmarty
~thibautmarty: 1
 Fix cross compilation

 1 files changed, 4 insertions(+), 3 deletions(-)
#478011 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/public-inbox/patches/21822/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH poweralertd] Fix cross compilation Export this patch

~thibautmarty
From: Thibaut Marty <sourcehut@thibautmarty.fr>

---
 meson.build | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index 6a7cb74..d2075aa 100644
--- a/meson.build
+++ b/meson.build
@@ -49,10 +49,11 @@ executable(
	install: true,
)

scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7')
scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true)

if scdoc.found()
	sh = find_program('sh')
	scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
	sh = find_program('sh', native: true)

	man_pages = ['poweralertd.1.scd']

@@ -68,7 +69,7 @@ if scdoc.found()
			input: src,
			output: output,
			command: [
				sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc.get_pkgconfig_variable('scdoc'), output)
				sh, '-c', '@0@ < @INPUT@ > @1@'.format(scdoc_prog.path(), output)
			],
			install: true,
			install_dir: '@0@/man@1@'.format(mandir, section)
-- 
2.30.2
builds.sr.ht
poweralertd/patches/.build.yml: SUCCESS in 33s

[Fix cross compilation][0] from [~thibautmarty][1]

[0]: https://lists.sr.ht/~kennylevinsen/public-inbox/patches/21822
[1]: mailto:sourcehut@thibautmarty.fr

✓ #478011 SUCCESS poweralertd/patches/.build.yml https://builds.sr.ht/~kennylevinsen/job/478011
Applied, thanks!