[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50905] [PATCH core-updates v2 02/38] gnu: nspr: Use mozilla-build-s
From: |
Maxime Devos |
Subject: |
[bug#50905] [PATCH core-updates v2 02/38] gnu: nspr: Use mozilla-build-system. |
Date: |
Fri, 1 Oct 2021 16:21:04 +0200 |
* gnu/packages/nss.scm
(nspr)[build-system]: Adjust it.
(nspr)[arguments]<#:configure-flags>: Remove now superfluous --target and
--host.
---
gnu/packages/nss.scm | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 381756e387..6196ad692d 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -29,6 +29,7 @@
#:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system mozilla)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages bash)
@@ -49,7 +50,7 @@
(sha256
(base32
"1j5b2m8cjlhnnv8sq34587avaagkqvh521w4f95miwgvsn3xlaap"))))
- (build-system gnu-build-system)
+ (build-system mozilla-build-system)
(inputs
;; TODO(core-updates): Make these inputs unconditional.
;; For 'compile-et.pl' and 'nspr-config'.
@@ -72,16 +73,7 @@
(list "--disable-static"
"--enable-64bit"
(string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib")
- ;; Mozilla deviates from Autotools conventions
- ;; due to historical reasons. Adjust to Mozilla conventions,
- ;; otherwise the Makefile will try to use TARGET-gcc
- ;; as a ‘native’ compiler.
- ,@(if (%current-target-system)
- `(,(string-append "--host="
- (nix-system->gnu-triplet
(%current-system)))
- ,(string-append "--target=" (%current-target-system)))
- '()))
+ (assoc-ref %outputs "out") "/lib"))
;; Use fixed timestamps for reproducibility.
#:make-flags '("SH_DATE='1970-01-01 00:00:01'"
;; This is epoch 1 in microseconds.
--
2.33.0
- [bug#50905] [PATCH core-updates v2 01/38] build-system/mozilla: New build system., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 08/38] gnu: isc-dhcp: Don't use canonical-package., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 04/38] gnu: icecat: Use mozilla-build-system., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 06/38] gnu: mozjs: Make the native-inputs unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 16/38] gnu: libdatrie: Make input labels match the package name., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 02/38] gnu: nspr: Use mozilla-build-system.,
Maxime Devos <=
- [bug#50905] [PATCH core-updates v2 13/38] gnu: gobject-introspection: Use python instead of python-wrapper., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 11/38] gnu: isc-dhcp: Remove trailing #t., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 12/38] gnu: gobject-introspection: Move things to native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 09/38] gnu: isc-dhcp: Make an input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 19/38] gnu: gdk-pixbuf: Respect #:tests?., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 31/38] gnu: json-glib: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 17/38] gnu: pango: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 34/38] gnu: heimdal: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 38/38] lint: check-wrapper-inputs: Remove mentions of core-updates., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 36/38] gnu: libproxy: Respect #:tests?., Maxime Devos, 2021/10/01