depends: add patch to fix capnp build on OpenBSD
see https://github.com/capnproto/capnproto/pull/2308
This commit is contained in:
1 parent
ae024137bd
commit
2d938720bd
4 files changed
+150
-1
No files matched your search
@@ -4,6 +4,7 @@ $(package)_download_path=https://capnproto.org/
|
||||
$(package)_download_file=capnproto-c++-$($(package)_version).tar.gz
|
||||
$(package)_file_name=capnproto-cxx-$($(package)_version).tar.gz
|
||||
$(package)_sha256_hash=07167580e563f5e821e3b2af1c238c16ec7181612650c5901330fa9a0da50939
|
||||
$(package)_patches=fix_openbsd_build.patch
|
||||
|
||||
define $(package)_set_vars
|
||||
$(package)_config_opts := -DBUILD_TESTING=OFF
|
||||
@@ -11,6 +12,10 @@ define $(package)_set_vars
|
||||
$(package)_config_opts += -DWITH_ZLIB=OFF
|
||||
endef
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
patch -p2 < $($(package)_patch_dir)/fix_openbsd_build.patch
|
||||
endef
|
||||
|
||||
define $(package)_config_cmds
|
||||
$($(package)_cmake) .
|
||||
endef
|
||||
|
||||
Reference in new issue
Block a user