mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
a5338945c4
* gnu/packages/dns.scm (knot): Update to 3.4.1. [source](patches) Add a patch. * gnu/packages/patches/knot-remove-runtime-deps.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. Change-Id: I2fcb61a161631954137eaf058bc7c6095fceef47 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
19 lines
732 B
Diff
19 lines
732 B
Diff
Following patch is imported from nixpkgs:
|
|
|
|
source: https://github.com/NixOS/nixpkgs/pull/338995
|
|
|
|
Remove unnecessary runtime dependencies.
|
|
|
|
`knotc status configure` shows summary from the configure script,
|
|
but that contains also references like include paths.
|
|
Filter these at least in a crude way (whole lines).
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -788,5 +788,5 @@ result_msg_base="
|
|
-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
|
|
+result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
|
|
|
|
AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
|
|
|
|
|
|
|