me
/
guix
Archived
1
0
Fork 0

gnu: nnn: Use #:make-flags over Makefile patching.

* gnu/packages/admin.scm (nnn)[arguments]: Remove 'patch-pkg-config
phase.  Set PKG_CONFIG in #:make-flags instead.
master
Tobias Geerinckx-Rice 2021-06-05 13:51:37 +02:00
parent 1e1a274ffd
commit 49dd606f57
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 7 deletions

View File

@ -3614,17 +3614,13 @@ information tool.")
`(#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script
(add-after 'unpack 'patch-pkg-config
(lambda _
(substitute* "Makefile"
(("pkg-config")
,(pkg-config-for-target))))))
(delete 'configure)) ; no configure script
#:make-flags
(list
(string-append "PREFIX="
(assoc-ref %outputs "out"))
(string-append "CC=" ,(cc-for-target)))))
(string-append "CC=" ,(cc-for-target))
(string-append "PKG_CONFIG=" ,(pkg-config-for-target)))))
(home-page "https://github.com/jarun/nnn")
(synopsis "Terminal file browser")
(description "@command{nnn} is a fork of @command{noice}, a blazing-fast