diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-03-27 10:23:05 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:45:00 +0200 |
commit | 9a2dca2e977f28727ab7e58bf9f114e293e748c0 (patch) | |
tree | 02be686e714473821a0cdc4303856c66951b6507 /gnu/packages | |
parent | 31584128b7661f8e3844988ab06a9862b88137dd (diff) | |
download | guix-9a2dca2e977f28727ab7e58bf9f114e293e748c0.tar guix-9a2dca2e977f28727ab7e58bf9f114e293e748c0.tar.gz |
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 <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/check.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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: + ;; <https://github.com/unittest-cpp/unittest-cpp/pull/188> + #: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++") |