Skip to content
Snippets Groups Projects
Unverified Commit cb6d322a authored by Christopher Baines's avatar Christopher Baines Committed by 宋文武
Browse files

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: default avatar宋文武 <iyzsong@member.fsf.org>
parent e87cb754
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ (define-module (gnu packages dns)
#: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 @@ (define-public dnsmasq
(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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment