opnsense-ports/devel/libkiwix/files/patch-meson.build
Franco Fichtner dffd6770d9 */*: sync with upstream
Taken from: FreeBSD
2023-06-13 17:59:15 +02:00

16 lines
604 B
Text

--- meson.build.orig 2022-11-30 17:10:19 UTC
+++ meson.build
@@ -36,7 +36,7 @@ else
endif
libzim_dep = dependency('libzim', version : '>=8.1.0', static:static_deps)
-if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN')
+if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN', dependencies: libzim_dep)
error('Libzim seems to be compiled without xapian. Xapian support is mandatory.')
endif
@@ -86,4 +86,3 @@ configure_file(output : 'kiwix.pc',
input : 'kiwix.pc.in',
install_dir: get_option('libdir')+'/pkgconfig'
)
-