[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: libnatpmp: Use gexps and simplify.
From: |
guix-commits |
Subject: |
07/10: gnu: libnatpmp: Use gexps and simplify. |
Date: |
Fri, 18 Aug 2023 14:11:31 -0400 (EDT) |
apteryx pushed a commit to branch update-jami
in repository guix.
commit d7287793a2ece74bc5a42ee615c2d1fd5e88d1b5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Aug 18 00:38:13 2023 -0400
gnu: libnatpmp: Use gexps and simplify.
* gnu/packages/networking.scm (libnatpmp) [arguments]: Use gexps. Use gexp
variables and cc-for-target in make flags.
---
gnu/packages/networking.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a7cb4f876e..1b2e26c3f6 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1435,19 +1435,13 @@ files contain direct mappings of the abstractions
provided by the ØMQ C API.")
"0w7wvf4yi8qv659dg9d3ndqvh3bqhgm21gd135spwhq6hhnfv106"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (delete 'check)) ; no tests
- #:make-flags
- (let* ((target ,(%current-target-system))
- (gcc (if target
- (string-append target "-gcc")
- "gcc")))
- (list
- (string-append "CC=" gcc)
- (string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
- (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")))))
+ (list #:phases #~(modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)) ; no tests
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "INSTALLPREFIX=" #$output)
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))))
(home-page "http://miniupnp.free.fr/libnatpmp.html")
(synopsis "C library implementing NAT-PMP")
(description
- branch update-jami created (now c3d6913525), guix-commits, 2023/08/18
- 03/10: gnu: avogadrolibs: Remove msgpack from native-inputs., guix-commits, 2023/08/18
- 05/10: gnu: msgpack: Deprecate with msgpack-c., guix-commits, 2023/08/18
- 01/10: gnu: opendht: Update to 2.5.5., guix-commits, 2023/08/18
- 07/10: gnu: libnatpmp: Use gexps and simplify.,
guix-commits <=
- 02/10: gnu: mmtf-cpp: Update to 1.1.0., guix-commits, 2023/08/18
- 04/10: gnu: python-pymol: Remove msgpack from native-inputs., guix-commits, 2023/08/18
- 06/10: gnu: Add sdbus-cpp., guix-commits, 2023/08/18
- 10/10: gnu: jami: Update to 20230619.1., guix-commits, 2023/08/18
- 08/10: gnu: libnatpmp: Update home page., guix-commits, 2023/08/18
- 09/10: gnu: libnatpmp: Install missing natpmp_declspec.h header., guix-commits, 2023/08/18