mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: ntp: Use G-expressions.
* gnu/packages/ntp.scm (ntp)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
9a84da4418
commit
75184011c7
1 changed files with 12 additions and 9 deletions
|
@ -37,6 +37,7 @@ (define-module (gnu packages ntp)
|
|||
#:use-module (gnu packages tls)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module ((guix licenses) #:prefix l:)
|
||||
#:use-module (guix packages)
|
||||
|
@ -143,15 +144,17 @@ (define-public ntp
|
|||
(list libcap)
|
||||
'())))
|
||||
(arguments
|
||||
`(;; Pass "--with-yielding-select=yes" so that 'configure' knows whether
|
||||
;; 'select' yields when using pthreads in a cross-compilation context.
|
||||
#:configure-flags (list "--with-yielding-select=yes")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-network-test
|
||||
(lambda _
|
||||
(substitute* "tests/libntp/Makefile.in"
|
||||
(("test-decodenetnum\\$\\(EXEEXT\\) ") "")))))))
|
||||
(list
|
||||
;; Pass "--with-yielding-select=yes" so that 'configure' knows whether
|
||||
;; 'select' yields when using pthreads in a cross-compilation context.
|
||||
#:configure-flags
|
||||
#~(list "--with-yielding-select=yes")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-network-test
|
||||
(lambda _
|
||||
(substitute* "tests/libntp/Makefile.in"
|
||||
(("test-decodenetnum\\$\\(EXEEXT\\) ") "")))))))
|
||||
(build-system gnu-build-system)
|
||||
(synopsis "Real time clock synchronization system")
|
||||
(description "NTP is a system designed to synchronize the clocks of
|
||||
|
|
Loading…
Reference in a new issue