GNU bug report logs -
#70024
[PATCH core-updates 0/4] Update enchant to 2.6.8; Add Nuspell support.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add
Provide a "Version" value in ".pc" file for pkg-config checks.
Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e
---
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 721cdf8e68..a7d90a2d7d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3273,7 +3273,11 @@ (define-public unittest-cpp
(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++")
--
2.41.0
This bug report was last modified 1 year and 30 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.