From d8321df8c44102afcba4d0e5bc6f2c2f85149adc Mon Sep 17 00:00:00 2001 From: pasja Date: Fri, 23 Jun 2023 09:18:54 +0200 Subject: [PATCH] Fix swiper build (#2907) hydra is a build-time dependency of swiper since https://github.com/abo-abo/swiper/commit/40e017dc1bc4655f7c3cf4bbbe3a827ce2fff213 and this patch follows that change in the recipe Also see https://github.com/abo-abo/swiper/issues/3011 --- recipes/swiper.rcp | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/recipes/swiper.rcp b/recipes/swiper.rcp index 55d8b454..893ad251 100644 --- a/recipes/swiper.rcp +++ b/recipes/swiper.rcp @@ -1,10 +1,20 @@ (:name swiper :description "Gives you an overview as you search for a regex." :type github - :depends (cl-lib avy) + :depends (cl-lib avy hydra) :pkgname "abo-abo/swiper" - :build `(("make" ,(format "emacs=%s -L %s" el-get-emacs (concat (file-name-as-directory el-get-dir) "avy")) "compile") - ("makeinfo" "-o" "doc/ivy.info" "doc/ivy.texi")) - :build/berkeley-unix `(("gmake" ,(format "emacs=%s -L %s" el-get-emacs (concat (file-name-as-directory el-get-dir) "avy")) "compile") - ("gmakeinfo" "-o" "doc/ivy.info" "doc/ivy.texi")) + :build `(("make" + ,(format "emacs=%s -L %s -L %s" + el-get-emacs + (concat (file-name-as-directory el-get-dir) "avy") + (concat (file-name-as-directory el-get-dir) "hydra")) + "compile") + ("makeinfo" "-o" "doc/ivy.info" "doc/ivy.texi")) + :build/berkeley-unix `(("gmake" + ,(format "emacs=%s -L %s -L %s" + el-get-emacs + (concat (file-name-as-directory el-get-dir) "avy") + (concat (file-name-as-directory el-get-dir) "hydra")) + "compile") + ("gmakeinfo" "-o" "doc/ivy.info" "doc/ivy.texi")) :info "doc/ivy.info")