diff mbox series

[bug#74306,gnome-team,17/44] gnu: glib-minimal: Fix deprecation warning.

Message ID fb06af4d989948ceb291741e48fe041da9edd682.1731303037.git.maxim.cournoyer@gmail.com
State New
Headers show
Series gstreamer, GTK, fontmanager updates | expand

Commit Message

Maxim Cournoyer Nov. 11, 2024, 6:17 a.m. UTC
* gnu/packages/glib.scm (glib-minimal) [configure-flags]: Replace man option
by man-pages, and set it to disabled instead of false.

Change-Id: Id1426e10b2f5f66869d1414f253ca22169323972
---
 gnu/packages/glib.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2732d739bf..fc6c2bd4bb 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -280,7 +280,7 @@  (define glib-minimal
                        ,(this-package-native-input "python-wrapper")))
                 '()))
       #:configure-flags #~(list "--default-library=both"
-                                "-Dman=false"
+                                "-Dman-pages=disabled"
                                 "-Dselinux=disabled"
                                 (string-append "--bindir="
                                                #$output:bin "/bin"))
@@ -553,7 +553,7 @@  (define-public glib-with-documentation
        (substitute-keyword-arguments (package-arguments base)
          ((#:configure-flags flags ''())
           #~(cons "-Ddocumentation=true"
-                  (delete "-Dman=false" #$flags)))
+                  (delete "-Dman-pages=disabled" #$flags)))
          ((#:phases phases)
           #~(modify-phases #$phases
               (add-after 'install 'move-doc