summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-12-16 00:38:39 +0100
committerMarius Bakke <marius@gnu.org>2020-12-17 00:15:49 +0100
commit77577c03aa3171921d891ac25be979f4f5d3d18e (patch)
tree8f559dc8abc3f6f3273383486737af2547574fc7
parentbca05d07099703f37eaf3a0eab9b87ea3e472279 (diff)
downloadguix-77577c03aa3171921d891ac25be979f4f5d3d18e.tar.gz
gnu: glib: Disable SELinux support.
It was added mainly because the build system previously could not cope with
SELinux being missing.

* gnu/packages/glib.scm (glib)[propagated-inputs]: Remove LIBSELINUX.
[arguments]: Add #:configure-flags.
-rw-r--r--gnu/packages/glib.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 6efc3928bf..2b720addd5 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -60,7 +60,6 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
-  #:use-module (gnu packages selinux)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
@@ -198,7 +197,6 @@ shared NFS home directories.")
       ("libffi" ,libffi) ; in the Requires.private field of gobject-2.0.pc
       ;; These are in the Requires.private field of gio-2.0.pc
       ("util-linux" ,util-linux "lib")  ;for libmount
-      ("libselinux" ,libselinux)
       ("zlib" ,zlib)))
    (native-inputs
     `(("gettext" ,gettext-minimal)
@@ -210,6 +208,7 @@ shared NFS home directories.")
       ("tzdata" ,tzdata-for-tests)))                  ; for tests/gdatetime.c
    (arguments
     `(#:disallowed-references (,tzdata-for-tests)
+      #:configure-flags '("-Dselinux=disabled")
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-dbus-launch-path