diff options
author | Yelninei <yelninei@tutamail.com> | 2025-07-31 10:11:02 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-09-04 17:41:53 +0200 |
commit | b8058086ed840f2f69eb938daa3e7de68b127cef (patch) | |
tree | 1260fd858eb3b2b9af878d847816a18fd0094877 | |
parent | 7f5c1c662df1080db275655171cd44d7dbb343bf (diff) |
gnu: libxcb: Use gexps.
* gnu/packages/xorg.scm (libxcb): Use gexps for phases and configure-flags
Change-Id: I762476b35ac366a3df9d289d7a22512fe0328077
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/xorg.scm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 26300a6d87..7b667da0b3 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5189,19 +5189,21 @@ protocol.") (native-inputs (list pkg-config python-minimal-wrapper)) (arguments - `(#:configure-flags (list "--enable-xkb" - "--disable-static" - (string-append "--mandir=" - (assoc-ref %outputs "doc") - "/share/man")) - #:phases ,(if (target-hurd?) - '(modify-phases %standard-phases - (add-after 'unpack 'fix-PATH_MAX - (lambda _ - ;; Hurd doesn't define PATH_MAX. - (substitute* "src/xcb_util.c" - (("PATH_MAX") "4096"))))) - '%standard-phases))) + (list + #:configure-flags #~(list "--enable-xkb" + "--disable-static" + (string-append "--mandir=" + (assoc-ref %outputs "doc") + "/share/man")) + #:phases + (if (target-hurd?) + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-PATH_MAX + (lambda _ + ;; Hurd doesn't define PATH_MAX. + (substitute* "src/xcb_util.c" + (("PATH_MAX") "4096"))))) + #~%standard-phases))) (home-page "https://xcb.freedesktop.org/") (synopsis "The X C Binding (XCB) library") (description |