From 7bf98da98bd07923956e99e753ac7544333fd202 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 29 Jan 2024 20:03:42 +0200 Subject: [PATCH] gnu: libhdate: Fix pkg-config file. * gnu/packages/calendar.scm (libhdate)[source]: Add snippet to adjust the pkg-config file to have the correct prefix. Change-Id: I5273f732a4e4e512057aa8bc1ecd40a81ec7828e --- gnu/packages/calendar.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 991995daf7..042daa53f5 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015 David Thompson ;;; Copyright © 2015, 2016, 2017 Leo Famulari ;;; Copyright © 2016 Kei Kebreau -;;; Copyright © 2016, 2017, 2020, 2022, 2023 Efraim Flashner +;;; Copyright © 2016, 2017, 2020, 2022-2024 Efraim Flashner ;;; Copyright © 2016 Troy Sankey ;;; Copyright © 2016, 2021 Stefan Reichoer ;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice @@ -292,7 +292,11 @@ (define-public libhdate version "/" name "-" version ".tar.bz2")) (sha256 (base32 - "0qkpq412p78znw8gckwcx3l0wcss9s0dgw1pvjb1ih2pxf6hm4rw")))) + "0qkpq412p78znw8gckwcx3l0wcss9s0dgw1pvjb1ih2pxf6hm4rw")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "libhdate.pc.in" + (("prefix=/usr") "prefix=@prefix@")))))) (build-system gnu-build-system) (home-page "http://libhdate.sourceforge.net/") (synopsis "Library to use Hebrew dates")