diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/avahi.scm | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index 480b5e8d97c..7734028dc3a 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm | |||
| @@ -99,10 +99,18 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.") | |||
| 99 | (method url-fetch)))))) | 99 | (method url-fetch)))))) |
| 100 | (build-system gnu-build-system) | 100 | (build-system gnu-build-system) |
| 101 | (arguments | 101 | (arguments |
| 102 | ;; The Avahi daemon socket is expected by src/Makefile.am to be at | 102 | '(#:phases (modify-phases %standard-phases |
| 103 | ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir) | 103 | (add-after 'unpack 'set-avahi-socket-name |
| 104 | ;; appropriately. | 104 | (lambda _ |
| 105 | '(#:configure-flags '("--localstatedir=/var"))) | 105 | ;; The Avahi daemon socket is expected by |
| 106 | ;; src/Makefile.am to be at | ||
| 107 | ;; "$(localstatedir)/run/avahi-daemon/socket", but | ||
| 108 | ;; nowadays it lives in /run/avahi-daemon/socket. | ||
| 109 | ;; Remove the "$(localstatedir)" bit. | ||
| 110 | (substitute* "src/Makefile.in" | ||
| 111 | (("\\$\\(localstatedir)/run/avahi-daemon/socket") | ||
| 112 | "/run/avahi-daemon/socket")) | ||
| 113 | #t))))) | ||
| 106 | (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in") | 114 | (synopsis "Multicast DNS Name Service Switch (@dfn{NSS}) plug-in") |
| 107 | (description | 115 | (description |
| 108 | "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch | 116 | "Nss-mdns is a plug-in for the GNU C Library's Name Service Switch |
