aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-10-29 15:51:10 +0100
committerfanquake <fanquake@gmail.com>2022-10-29 15:51:10 +0100
commit1914e470e327091c625f627b4447beb336f7fe5a (patch)
tree63dda7a614120b5f8a2e70d473e2f093a7568119 /depends
parent4f270d2b63913b86c4366756031c5003837075d6 (diff)
build: copy config.{guess,sub} post autogen in zmq package
Otherwise our config.guess and config.sub will be copied over. This problem has been masked by the fact that modern systems ship with versions that recognise all the triplets we use (namely arm64-apple-darwin). However building on ubuntu 20.04 surfaces the issue. Fixes #26420.
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/zeromq.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk
index 267ed11253..d715232793 100644
--- a/depends/packages/zeromq.mk
+++ b/depends/packages/zeromq.mk
@@ -20,12 +20,12 @@ endef
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/remove_libstd_link.patch && \
- patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch && \
- cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config
+ patch -p1 < $($(package)_patch_dir)/netbsd_kevent_void.patch
endef
define $(package)_config_cmds
./autogen.sh && \
+ cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub config && \
$($(package)_autoconf)
endef