Skip to content

Commit

Permalink
depends: zeromq: don't install .pc files and remove patches for them
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni authored and hebasto committed Oct 25, 2024
1 parent 6b8a744 commit 915640e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 63 deletions.
11 changes: 4 additions & 7 deletions depends/packages/zeromq.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ $(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43
$(package)_build_subdir=build
$(package)_patches = remove_libstd_link.patch
$(package)_patches += macos_mktemp_check.patch
$(package)_patches = macos_mktemp_check.patch
$(package)_patches += builtin_sha1.patch
$(package)_patches += fix_have_windows.patch
$(package)_patches += openbsd_kqueue_headers.patch
$(package)_patches += cmake_minimum.patch
$(package)_patches += cacheline_undefined.patch
$(package)_patches += no_librt.patch
$(package)_patches += fix_mingw_link.patch

define $(package)_set_vars
$(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DWITH_DOCS=OFF -DWITH_LIBSODIUM=OFF
Expand All @@ -24,15 +22,13 @@ define $(package)_set_vars
endef

define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
patch -p1 < $($(package)_patch_dir)/macos_mktemp_check.patch && \
patch -p1 < $($(package)_patch_dir)/builtin_sha1.patch && \
patch -p1 < $($(package)_patch_dir)/cacheline_undefined.patch && \
patch -p1 < $($(package)_patch_dir)/fix_have_windows.patch && \
patch -p1 < $($(package)_patch_dir)/openbsd_kqueue_headers.patch && \
patch -p1 < $($(package)_patch_dir)/cmake_minimum.patch && \
patch -p1 < $($(package)_patch_dir)/no_librt.patch && \
patch -p1 < $($(package)_patch_dir)/fix_mingw_link.patch
patch -p1 < $($(package)_patch_dir)/no_librt.patch
endef

define $(package)_config_cmds
Expand All @@ -48,5 +44,6 @@ define $(package)_stage_cmds
endef

define $(package)_postprocess_cmds
rm -rf share
rm -rf share && \
rm -rf lib/pkgconfig
endef
31 changes: 0 additions & 31 deletions depends/patches/zeromq/fix_mingw_link.patch

This file was deleted.

25 changes: 0 additions & 25 deletions depends/patches/zeromq/remove_libstd_link.patch

This file was deleted.

0 comments on commit 915640e

Please sign in to comment.