diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-06-16 22:56:19 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-06-22 11:52:39 +0200 |
| commit | a9963ff397470ad91a01b0dc0bbb3c3a04ce3b26 (patch) | |
| tree | 88c99695726902e0a3b8d0fe810d217d7322b72f /gnu | |
| parent | 975b67e495629ec1bdaac0142d0e5afad905b613 (diff) | |
gnu: libgit2@1.9: Use gexps.
* gnu/packages/version-control.scm (libgit2-1.9)[source, arguments]: Use
gexps.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/version-control.scm | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 3b91b3f6809..9a2e24d1c01 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm | |||
| @@ -1381,35 +1381,35 @@ other git-like projects such as @code{libgit2}.") | |||
| 1381 | "libgit2-path-max.patch")) | 1381 | "libgit2-path-max.patch")) |
| 1382 | (modules '((guix build utils))) | 1382 | (modules '((guix build utils))) |
| 1383 | (snippet | 1383 | (snippet |
| 1384 | '(begin | 1384 | #~(begin |
| 1385 | (for-each delete-file-recursively | 1385 | (for-each delete-file-recursively |
| 1386 | '("deps/chromium-zlib" | 1386 | '("deps/chromium-zlib" |
| 1387 | "deps/llhttp" | 1387 | "deps/llhttp" |
| 1388 | "deps/ntlmclient" | 1388 | "deps/ntlmclient" |
| 1389 | "deps/pcre" | 1389 | "deps/pcre" |
| 1390 | "deps/winhttp" | 1390 | "deps/winhttp" |
| 1391 | "deps/zlib")))))) | 1391 | "deps/zlib")))))) |
| 1392 | (build-system cmake-build-system) | 1392 | (build-system cmake-build-system) |
| 1393 | (outputs '("out" "debug")) | 1393 | (outputs '("out" "debug")) |
| 1394 | (arguments | 1394 | (arguments |
| 1395 | `(#:configure-flags | 1395 | (list #:configure-flags |
| 1396 | (list "-DUSE_NTLMCLIENT=OFF" ;TODO: package this | 1396 | #~(list "-DUSE_NTLMCLIENT=OFF" ;TODO: package this |
| 1397 | "-DREGEX_BACKEND=pcre2" | 1397 | "-DREGEX_BACKEND=pcre2" |
| 1398 | "-DUSE_HTTP_PARSER=http-parser" | 1398 | "-DUSE_HTTP_PARSER=http-parser" |
| 1399 | "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing | 1399 | "-DUSE_SSH=ON" ; cmake fails to find libssh if this is missing |
| 1400 | ;; See https://github.com/libgit2/libgit2/issues/7169 | 1400 | ;; See https://github.com/libgit2/libgit2/issues/7169 |
| 1401 | ,@(if (target-32bit?) | 1401 | #$@(if (target-32bit?) |
| 1402 | '("-DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64") | 1402 | '("-DCMAKE_C_FLAGS=-D_FILE_OFFSET_BITS=64") |
| 1403 | '())) | 1403 | '())) |
| 1404 | #:phases | 1404 | #:phases |
| 1405 | (modify-phases %standard-phases | 1405 | #~(modify-phases %standard-phases |
| 1406 | ;; Run checks more verbosely, unless we are cross-compiling. | 1406 | ;; Run checks more verbosely, unless we are cross-compiling. |
| 1407 | (replace 'check | 1407 | (replace 'check |
| 1408 | (lambda* (#:key (tests? #t) #:allow-other-keys) | 1408 | (lambda* (#:key (tests? #t) #:allow-other-keys) |
| 1409 | (if tests? | 1409 | (if tests? |
| 1410 | (invoke "./libgit2_tests" "-v" "-Q") | 1410 | (invoke "./libgit2_tests" "-v" "-Q") |
| 1411 | ;; Tests may be disabled if cross-compiling. | 1411 | ;; Tests may be disabled if cross-compiling. |
| 1412 | (format #t "Test suite not run.~%"))))))) | 1412 | (format #t "Test suite not run.~%"))))))) |
| 1413 | (inputs | 1413 | (inputs |
| 1414 | (list libssh2 http-parser)) | 1414 | (list libssh2 http-parser)) |
| 1415 | (native-inputs | 1415 | (native-inputs |
