[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: nnn: Use #:make-flags over Makefile patching.
From: |
guix-commits |
Subject: |
04/08: gnu: nnn: Use #:make-flags over Makefile patching. |
Date: |
Sat, 5 Jun 2021 12:31:45 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 49dd606f574b3e7aadea8d93818bfdc6f3de71cc
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jun 5 13:51:37 2021 +0200
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.
---
gnu/packages/admin.scm | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 83e5296..a2e013e 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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
- branch master updated (de1b8f7 -> debcc76), guix-commits, 2021/06/05
- 02/08: gnu: thermald: Compile with -Werror again., guix-commits, 2021/06/05
- 01/08: gnu: thermald: Update to 2.4.5., guix-commits, 2021/06/05
- 07/08: gnu: iperf: Update to 3.10.1., guix-commits, 2021/06/05
- 03/08: gnu: nnn: Update to 4.1.1., guix-commits, 2021/06/05
- 06/08: gnu: ispell: Update to 3.4.04., guix-commits, 2021/06/05
- 05/08: gnu: nnn: Remove marketing hyperbole., guix-commits, 2021/06/05
- 04/08: gnu: nnn: Use #:make-flags over Makefile patching.,
guix-commits <=
- 08/08: gnu: qca: Update to 2.3.3., guix-commits, 2021/06/05