From 9a2dca2e977f28727ab7e58bf9f114e293e748c0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 27 Mar 2024 10:23:05 +0100 Subject: gnu: unittest-cpp: Fix "Version" setting in ".pc" file. * gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add Provide a "Version" value in ".pc" file for pkg-config checks. Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e Reviewed-by: Maxim Cournoyer --- gnu/packages/check.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 2c6d220f5e..0bd3a16a58 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -3614,7 +3614,11 @@ allowing you to declaratively define \"match\" rules.") (sha256 (base32 "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i")))) (arguments - `(#:tests? #f)) ; It's run after build automatically. + (list + #:tests? #f ; It's run after build automatically. + ;; Fix 'Version:' setting in .pc file. See: + ;; + #:configure-flags #~(list (string-append "-DPACKAGE_VERSION=" #$version)))) (build-system cmake-build-system) (home-page "https://github.com/unittest-cpp/unittest-cpp") (synopsis "Lightweight unit testing framework for C++") -- cgit v1.2.3 commitdiff
AgeCommit message (Expand)Author
2019-09-23gnu: bctoolbox: Fix typo....Vagrant Cascadian
2019-09-04gnu: twinkle: update to 1.10.2....Jovany Leandro G.C
2019-07-26gnu: jami-client-gnome: Rename to 'jami'....Ludovic Courtès