aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-01-19 06:55:38 +0000
committer宋文武 <iyzsong@member.fsf.org>2017-01-19 20:05:24 +0800
commitcb6d322afcf791e84a700eadcad515299b65280c (patch)
tree7d140705bf9e4f21b9b467cd57ebc666b881ee49
parente87cb754a654fe7568cfcd2b60bd43386abede5d (diff)
downloadguix-cb6d322afcf791e84a700eadcad515299b65280c.tar
guix-cb6d322afcf791e84a700eadcad515299b65280c.tar.gz
gnu: dnsmasq: Enable dbus support.
* gnu/pacakges/dns.scm (dnsmasq): Enable dbus support to allow for NetworkManager to use dnsmasq. [native-inputs]: Add pkg-config. [inputs]: Add dbus. [arguments]: Add COPTS="-DHAVE_DBUS" to make-flags. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/dns.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 2934e8e276..9d77395243 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -28,6 +28,7 @@
#:use-module (gnu packages base)
#:use-module (gnu packages databases)
#:use-module (gnu packages crypto)
+ #:use-module (gnu packages glib)
#:use-module (gnu packages groff)
#:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
@@ -53,11 +54,16 @@
(base32
"15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb"))))
(build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("dbus" ,dbus)))
(arguments
`(#:phases
(alist-delete 'configure %standard-phases)
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
- "CC=gcc")
+ "CC=gcc"
+ "COPTS=\"-DHAVE_DBUS\"")
;; No 'check' target.
#:tests? #f))
(home-page "http://www.thekelleys.org.uk/dnsmasq/doc.html")