mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: libsepol: Use G-expression.
* gnu/packages/selinux.scm (libsepol)[arguments]: Convert to gexp.
This commit is contained in:
parent
c6e3f4eb5a
commit
d7278e4020
1 changed files with 26 additions and 25 deletions
|
@ -62,10 +62,11 @@ (define-public libsepol
|
|||
"1lcmgmfr0q7g5cwg6b7jm6ncw8cw6c1jblkm93v1g37bfhcgrqc0"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; tests require checkpolicy, which requires libsepol
|
||||
(list
|
||||
#:tests? #f ; tests require checkpolicy, which requires libsepol
|
||||
#:test-target "test"
|
||||
#:make-flags
|
||||
(let ((out (assoc-ref %outputs "out")))
|
||||
#~(let ((out #$output))
|
||||
(list (string-append "PREFIX=" out)
|
||||
(string-append "SHLIBDIR=" out "/lib")
|
||||
(string-append "MAN3DIR=" out "/share/man/man3")
|
||||
|
@ -73,12 +74,12 @@ (define-public libsepol
|
|||
(string-append "MAN8DIR=" out "/share/man/man8")
|
||||
(string-append "CFLAGS=-Wno-error")
|
||||
(string-append "LDFLAGS=-Wl,-rpath=" out "/lib")
|
||||
(string-append "CC=" ,(cc-for-target))))
|
||||
(string-append "CC=" #$(cc-for-target))))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-after 'unpack 'enter-dir
|
||||
(lambda _ (chdir ,name)))
|
||||
(lambda _ (chdir #$name)))
|
||||
(add-after 'enter-dir 'portability
|
||||
(lambda _
|
||||
(substitute* "src/ibpkeys.c"
|
||||
|
|
Loading…
Reference in a new issue