summaryrefslogtreecommitdiff
path: root/guix/build/gnu-build-system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-01-27 23:45:59 +0100
committerLudovic Courtès <ludo@gnu.org>2014-01-27 23:45:59 +0100
commit65529e49ff5b9052544271b1b7923feed4312849 (patch)
tree62bd6b6a00a598b38e4b9eb9c135db5f7e34862e /guix/build/gnu-build-system.scm
parentd43547f12d4eae19845f3bf13a53a050af965063 (diff)
build-system/gnu: Pass --localstatedir=/var --sharedstatedir=/com.
Suggested by John Darrington <john@darrington.wattle.id.au> and Mark H Weaver <mhw@netris.org>. * guix/build/gnu-build-system.scm (configure): Pass --localstatedir=/var --sharedstatedir=/com. * gnu/packages/admin.scm (dmd): Remove 'arguments' field. * gnu/packages/avahi.scm (avahi): Remove --localstatedir flag. * gnu/packages/glib.scm (dbus): Likewise. * gnu/packages/package-management.scm (guix): Likewise. * gnu/packages/pulseaudio.scm (pulseaudio): Likewise.
Diffstat (limited to 'guix/build/gnu-build-system.scm')
-rw-r--r--guix/build/gnu-build-system.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 6d26392c8f..ed870ade88 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -142,6 +142,12 @@ makefiles."
,(string-append "CONFIG_SHELL=" bash)
,(string-append "SHELL=" bash)
,(string-append "--prefix=" prefix)
+
+ ;; Keep modifiable state directories outside of the
+ ;; store (Autoconf 2.70 will add '--runstatedir'.)
+ "--localstatedir=/var"
+ "--sharedstatedir=/com"
+
"--enable-fast-install" ; when using Libtool
;; Produce multiple outputs when specific output names