summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-03 18:29:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-01-17 12:57:32 +0100
commit4798554038271f1a6d1319313ca68ea99ddaabbe (patch)
treed6c39d565cdbb4f8b3871e56feb63a3b15248eb0
parent8bd2b15b06f6306e37cc72995b76a7f0754cf1a6 (diff)
downloadguix-4798554038271f1a6d1319313ca68ea99ddaabbe.tar.gz
gnu: mit-krb5: Set localstatedir to /var.
* gnu/packages/kerberos.scm (mit-krb5)[arguments]: Set localstatedir.
-rw-r--r--gnu/packages/kerberos.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index 7435566c06..2b8ebbac77 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2012, 2017 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -76,14 +76,16 @@
 
        ,@(if (%current-target-system)
              '(#:configure-flags
-               (list "krb5_cv_attr_constructor_destructor=yes"
+               (list "--localstatedir=/var"
+                     "krb5_cv_attr_constructor_destructor=yes"
                      "ac_cv_func_regcomp=yes"
                      "ac_cv_printf_positional=yes"
                      "ac_cv_file__etc_environment=yes"
                      "ac_cv_file__etc_TIMEZONE=no")
                #:make-flags
                (list "CFLAGS+=-DDESTRUCTOR_ATTR_WORKS=1"))
-             '())
+             '(#:configure-flags
+               (list "--localstatedir=/var")))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'enter-source-directory