From 28e41c66e157a645794c25eaf10898990edb3539 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 20 Apr 2021 01:22:17 +0200 Subject: gnu: libmirage: Update to 3.2.5. * gnu/packages/cdrom.scm (libmirage): Update to 3.2.5. --- gnu/packages/cdrom.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/cdrom.scm') diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index d93c673ac2..014adeede0 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2016 Marius Bakke ;;; Copyright © 2017 John Darrington ;;; Copyright © 2017 Thomas Danckaert -;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2017–2021 Tobias Geerinckx-Rice ;;; Copyright © 2017 Nikita ;;; Copyright © 2018 Oleg Pykhalov ;;; Copyright © 2018, 2019 Ricardo Wurmus @@ -953,15 +953,15 @@ (define-public cdrkit-libre (define-public libmirage (package (name "libmirage") - (version "3.2.4") + (version "3.2.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/cdemu/libmirage/libmirage-" - version ".tar.bz2")) + version ".tar.xz")) (sha256 (base32 - "0md3f71x2dbgyw5s254vx1s80slh3f25r9pvjihkrmj0rn53nnzw")))) + "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 3ae36cfcecb3b779c2c3adcff8184d01cd28a2e5 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 20 Apr 2021 01:22:24 +0200 Subject: gnu: cdemu-daemon: Update to 3.2.5. * gnu/packages/cdrom.scm (cdemu-daemon): Update to 3.2.5. --- gnu/packages/cdrom.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/cdrom.scm') diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 014adeede0..b9c22333ee 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -982,15 +982,15 @@ (define-public libmirage (define-public cdemu-daemon (package (name "cdemu-daemon") - (version "3.2.4") + (version "3.2.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/cdemu/cdemu-daemon/" - "cdemu-daemon-" version ".tar.bz2")) + "cdemu-daemon-" version ".tar.xz")) (sha256 (base32 - "02yyj8sr7d5briamhzrqh8zdsiiggxmx5y05kx25y7k3g15jvcx6")))) + "16g6fv1lxkdmbsy6zh5sj54dvgwvm900fd18aq609yg8jnqm644d")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 131daaccb4ca4c1c553e495596092b265bdaff4a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 20 Apr 2021 01:23:48 +0200 Subject: gnu: cdemu-client: Update to 3.2.5. * gnu/packages/cdrom.scm (cdemu-client): Update to 3.2.5. --- gnu/packages/cdrom.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/cdrom.scm') diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index b9c22333ee..7ebe35e6a6 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -1011,15 +1011,15 @@ (define-public cdemu-daemon (define-public cdemu-client (package (name "cdemu-client") - (version "3.2.4") + (version "3.2.5") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/cdemu/cdemu-client/cdemu-client-" - version ".tar.bz2")) + version ".tar.xz")) (sha256 (base32 - "1swylaja1p1jfjf3s58c9hsk1cyy20i7mrq32kcg6kzp88grs8my")))) + "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7")))) (build-system cmake-build-system) (native-inputs `(("pkg-config" ,pkg-config) -- cgit v1.2.3 From 9c44af6bd67579ef0d916ecf23fe832c9d17802f Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 9 Apr 2021 21:46:24 +0200 Subject: gnu: Replace hard-coded "CC=gcc" with CC-FOR-TARGET calls. * gnu/packages/admin.scm (cbatticon)[arguments]<#:make-flags>: Use CC-FOR-TARGET. * gnu/packages/assembly.scm (dev86)[arguments]<#:make-flags>: Likewise. * gnu/packages/cdrom.scm (cd-discid)[arguments]<#:make-flags>: Likewise. * gnu/packages/crypto.scm (signify, keyutils, ssss, libscrypt, enchive) [arguments]<#:make-flags>: Likewise. * gnu/packages/emacs-xyz.scm (emacs-emacsql, emacs-telega)[arguments] <#:phases>: Likewise. * gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Likewise. * gnu/packages/image-viewers.scm (feh, imv)[arguments]<#:make-flags>: Likewise. * gnu/packages/image.scm (libjxr, giflib, freeimage)[arguments] <#:make-flags>: Likewise. * gnu/packages/irc.scm (ii, sic)[arguments]<#:make-flags>: Likewise. * gnu/packages/lua.scm (make-lua-expat, make-lua-ossl, make-lua-sec) (make-lua-cqueues, make-lua-lgi, lua-resty-signal)[arguments] <#:make-flags>: Likewise. * gnu/packages/networking.scm (httping, pixiewps, sslh, nethogs, spiped) (can-utils, hcxtools, batctl)[arguments]<#:make-flags>: Likewise. * gnu/packages/pdf.scm (fbida)[arguments]<#:make-flags>: Likewise. * gnu/packages/ssh.scm (endlessh)[arguments]<#:make-flags>: Likewise. * gnu/packages/toys.scm (nyancat)[arguments]<#:make-flags>: Likewise. * gnu/packages/upnp.scm (miniupnpc)[arguments]<#:make-flags>: Likewise. * gnu/packages/xdisorg.scm (bemenu, xbanish, sxhkd, xcape, xssproxy) (xrandr-invert-colors, hsetroot, xsettingsd)[arguments]<#:make-flags>: Likewise. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/admin.scm | 2 +- gnu/packages/assembly.scm | 2 +- gnu/packages/cdrom.scm | 4 ++-- gnu/packages/crypto.scm | 13 +++++++------ gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/gnupg.scm | 3 ++- gnu/packages/image-viewers.scm | 9 +++++---- gnu/packages/image.scm | 10 +++++----- gnu/packages/irc.scm | 5 +++-- gnu/packages/lua.scm | 12 ++++++------ gnu/packages/networking.scm | 26 +++++++++++++------------- gnu/packages/pdf.scm | 4 ++-- gnu/packages/ssh.scm | 4 ++-- gnu/packages/toys.scm | 2 +- gnu/packages/upnp.scm | 4 ++-- gnu/packages/xdisorg.scm | 18 +++++++++--------- 16 files changed, 62 insertions(+), 58 deletions(-) (limited to 'gnu/packages/cdrom.scm') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4274a49ef0..59abaeb2eb 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3062,7 +3062,7 @@ (define-public cbatticon `(#:tests? #f ; no tests #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - "CC=gcc") + ,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure)))) ; no configure script diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index dbed33bb3d..51c0572674 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm @@ -228,7 +228,7 @@ (define-public dev86 (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; They use submakes wrong - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:system "i686-linux" ; Standalone ld86 had problems otherwise diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 7ebe35e6a6..443d7455a7 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -599,9 +599,9 @@ (define-public cd-discid #t)))) (build-system gnu-build-system) (arguments - '(#:tests? #f + `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'configure)) - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))))) (synopsis "Get CDDB discid information from an audio CD") diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 273f924962..2658c38cb4 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -214,7 +214,7 @@ (define-public signify ;; like OpenBSD's pledge(). (arguments `(#:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases @@ -376,7 +376,7 @@ (define-public keyutils (arguments `(#:phases (modify-phases %standard-phases (delete 'configure)) ; no configure script - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) "RPATH=-Wl,-rpath,$(DESTDIR)$(LIBDIR)" (string-append "DESTDIR=" (assoc-ref %outputs "out")) @@ -469,7 +469,7 @@ (define-public ssss (arguments `(#:tests? #f ; No test suite #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - "CC=gcc") + ,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure) ; no configuration to be done @@ -629,7 +629,7 @@ (define-public libscrypt (outputs (list "out" "static")) (arguments `(#:make-flags (list (string-append "PREFIX=" %output) - "CC=gcc") + ,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure) ; no configure script @@ -1070,8 +1070,9 @@ (define-public enchive (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; no check target ' - #:make-flags (list "CC=gcc" "PREFIX=$(out)") + `(#:tests? #f ; no check target ' + #:make-flags (list ,(string-append "CC=" (cc-for-target)) + "PREFIX=$(out)") #:phases (modify-phases %standard-phases (delete 'configure) (add-after 'install 'post-install diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a03abd2206..dbeab25b39 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25357,7 +25357,7 @@ (define-public emacs-telega (lambda _ (substitute* "server/Makefile" (("CC=cc") - "CC=gcc") + ,(string-append "CC=" (cc-for-target))) (("INSTALL_PREFIX=\\$\\(HOME\\)/.telega") (string-append "INSTALL_PREFIX=" (assoc-ref %outputs "out") "/bin")) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index bb611bdb89..fefa1e01f1 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -72,6 +72,7 @@ (define-module (gnu packages gnupg) #:use-module (gnu packages xml) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) @@ -996,7 +997,7 @@ (define-public pgpdump (arguments `(#:tests? #f ; no make check #:configure-flags (list "--prefix=/") - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "DESTDIR=" (assoc-ref %outputs "out"))))) (inputs `(("zlib" ,zlib))) diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index b7c1ebc829..c7dd358ad4 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -89,10 +89,11 @@ (define-public feh "1d13x8hmvpdc5f5rj4l29ha7iz7wvqxjlvh6il04wq8igzrj0x23")))) (build-system gnu-build-system) (arguments - '(#:phases (modify-phases %standard-phases (delete 'configure)) + `(#:phases (modify-phases %standard-phases (delete 'configure)) #:test-target "test" #:make-flags - (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out")) + (list ,(string-append "CC=" (cc-for-target)) + (string-append "PREFIX=" (assoc-ref %outputs "out")) "exif=1" "inotify=1"))) (native-inputs @@ -579,7 +580,7 @@ (define-public imv (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (delete 'configure) (add-after 'install 'record-absolute-file-names @@ -593,7 +594,7 @@ (define-public imv (string-append bin "/imv-"))) #t)))) #:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "CONFIGPREFIX=" (assoc-ref %outputs "out") "/etc")))) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index d0c12016ca..64863cd3b3 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -457,8 +457,8 @@ (define-public libjxr "libjxr-fix-typos.patch")))) (build-system gnu-build-system) (arguments - '(#:make-flags - (list "CC=gcc" + `(#:make-flags + (list ,(string-append "CC=" (cc-for-target)) ;; A substitute* procedure call would be enough to add the -fPIC ;; flag if there was no file decoding error. ;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line @@ -890,7 +890,7 @@ (define-public giflib (outputs '("bin" ; utility programs "out")) ; library (arguments - '(#:make-flags (list "CC=gcc" + `(#:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "BINDIR=" @@ -1114,7 +1114,7 @@ (define-public freeimage "0cwjxjz0f4gs6igvwqg0p99mnrsrwzkal1l2n08yvz2xq9s5khki")))))))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases ;; According to Fedora these files depend on private headers, but their ;; presence is required for building, so we replace them with empty files. @@ -1138,7 +1138,7 @@ (define-public freeimage (("-o root -g root") "")) #t))) #:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) ;; We need '-fpermissive' for Source/FreeImage.h. ;; libjxr doesn't have a pkg-config file. (string-append "CFLAGS+=-O2 -fPIC -fvisibility=hidden -fpermissive " diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 36c4fac3c1..2cc4e5e2c2 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -31,6 +31,7 @@ (define-module (gnu packages irc) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix build-system cmake) @@ -343,7 +344,7 @@ (define-public ii (arguments `(#:tests? #f ; no tests #:make-flags (list (string-append "PREFIX=" %output) - "CC=gcc") + ,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure)))) ; no configure @@ -367,7 +368,7 @@ (define-public sic (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index ebea69eb9a..54d2ba400d 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -215,7 +215,7 @@ (define (make-lua-expat name lua) `(#:make-flags (let ((out (assoc-ref %outputs "out")) (lua-version ,(version-major+minor (package-version lua)))) - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "LUA_LDIR=" out "/share/lua/" lua-version) (string-append "LUA_CDIR=" out "/lib/lua/" lua-version))) #:phases @@ -356,7 +356,7 @@ (define (make-lua-ossl name lua) `(#:make-flags (let ((out (assoc-ref %outputs "out")) (lua-api-version ,(version-major+minor (package-version lua)))) - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) "CFLAGS='-D HAVE_SYS_SYSCTL_H=0'" ; sys/sysctl.h is deprecated (string-append "prefix=" out) (string-append "LUA_APIS=" lua-api-version))) @@ -417,7 +417,7 @@ (define (make-lua-sec name lua) (let ((out (assoc-ref %outputs "out")) (lua-version ,(version-major+minor (package-version lua)))) (list "linux" - "CC=gcc" + ,(string-append "CC=" (cc-for-target)) "LD=gcc" (string-append "LUAPATH=" out "/share/lua/" lua-version) (string-append "LUACPATH=" out "/lib/lua/" lua-version))) @@ -465,7 +465,7 @@ (define (make-lua-cqueues name lua lua-ossl) #:make-flags (let ((out (assoc-ref %outputs "out")) (lua-api-version ,(version-major+minor (package-version lua)))) - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "LUA_APIS=" lua-api-version))) #:phases (modify-phases %standard-phases @@ -657,7 +657,7 @@ (define (make-lua-lgi name lua) (build-system gnu-build-system) (arguments `(#:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases @@ -1014,7 +1014,7 @@ (define-public lua-resty-signal (build-system gnu-build-system) (arguments `(#:tests? #f ;TODO: Run the test suite. - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 4df7b55ee7..f90894851c 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1339,7 +1339,7 @@ (define-public iodine "0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd")))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (delete 'configure) (add-before 'build 'fix-ifconfig-path @@ -1357,7 +1357,7 @@ (define-public iodine test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);") "")) #t))) - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "prefix=" (assoc-ref %outputs "out"))) #:test-target "test")) (inputs `(("net-tools" ,net-tools) @@ -1639,7 +1639,7 @@ (define-public httping ("ncurses" ,ncurses) ("openssl" ,openssl))) (arguments - `(#:make-flags (list "CC=gcc" + `(#:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "DESTDIR=" (assoc-ref %outputs "out")) "PREFIX=") #:tests? #f)) ; no tests @@ -1840,8 +1840,8 @@ (define-public pixiewps "07nym6bqml0k9v29vnj003nrgnwrywgjvnljb7cdpsvnwilhbp64")))) (build-system gnu-build-system) (arguments - '(#:make-flags - (list "CC=gcc" + `(#:make-flags + (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases @@ -2299,7 +2299,7 @@ (define-public sslh ("pcre" ,pcre) ("tcp-wrappers" ,tcp-wrappers))) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (delete 'configure) ; no configure script (add-before 'check 'fix-tests @@ -2321,7 +2321,7 @@ (define-public sslh (append (find-files "." "\\.cfg") (find-files "scripts")))) #t))) - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) "USELIBCAP=1" "USELIBWRAP=1" (string-append "PREFIX=" (assoc-ref %outputs "out"))) @@ -2384,7 +2384,7 @@ (define-public nethogs `(("libpcap" ,libpcap) ("ncurses" ,ncurses))) (arguments - `(#:make-flags `("CC=gcc" + `(#:make-flags `(,,(string-append "CC=" (cc-for-target)) ,(string-append "PREFIX=" %output) ,(string-append "VERSION=" ,version)) #:phases @@ -2612,11 +2612,11 @@ (define-public spiped "04rpnc53whfky7pp2m9h35gwzwn6788pnl6c1qd576mpknbqjw4d")))) (build-system gnu-build-system) (arguments - '(#:test-target "test" + `(#:test-target "test" #:make-flags (let* ((out (assoc-ref %outputs "out")) (bindir (string-append out "/bin")) (man1dir (string-append out "/share/man/man1"))) - (list "CC=gcc" ; It tries to invoke `c99`. + (list ,(string-append "CC=" (cc-for-target)) ; It tries to invoke `c99`. (string-append "BINDIR=" bindir) (string-append "MAN1DIR=" man1dir))) #:phases @@ -3035,7 +3035,7 @@ (define-public can-utils (build-system gnu-build-system) (arguments `(#:tests? #f ; No tests exist. - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases @@ -3288,7 +3288,7 @@ (define-public hcxtools ("zlib" ,zlib))) (arguments `(#:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin")) #:tests? #f ; no test suite #:phases @@ -3646,7 +3646,7 @@ (define-public batctl (list (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "PKG_CONFIG=" (assoc-ref %build-inputs "pkg-config") "/bin/pkg-config") - "CC=gcc"))) + ,(string-append "CC=" (cc-for-target))))) (home-page "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki") (synopsis "Management tool for the mesh networking BATMAN protocol") (description "This package provides a control tool for the diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 689d03afc8..123fef92b6 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -1135,7 +1135,7 @@ (define-public fbida "0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm")))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-FHS-file-names (lambda _ @@ -1144,7 +1144,7 @@ (define-public fbida (("/sbin/ldconfig -p") "echo lib")) #t)) (delete 'configure)) #:tests? #f - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "prefix=" (assoc-ref %outputs "out"))))) (inputs `(("libjpeg" ,libjpeg-turbo) ("curl" ,curl) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 20db069e0f..7429d4e956 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -878,8 +878,8 @@ (define-public endlessh (base32 "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68")))) (build-system gnu-build-system) (arguments - '(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) - "CC=gcc") + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + ,(string-append "CC=" (cc-for-target))) #:tests? #f ; no test target #:phases (modify-phases %standard-phases diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm index f88ea68436..bbd5753841 100644 --- a/gnu/packages/toys.scm +++ b/gnu/packages/toys.scm @@ -219,7 +219,7 @@ (define-public nyancat "1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k")))) (build-system gnu-build-system) (arguments - '(#:make-flags '("CC=gcc") + `(#:make-flags '(,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure) ; no configure script diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm index 9b586c1cf2..358514f9d0 100644 --- a/gnu/packages/upnp.scm +++ b/gnu/packages/upnp.scm @@ -61,11 +61,11 @@ (define-public miniupnpc ;; The build system does not use a configure script but depends on ;; `make'. Hence we should pass parameters to `make' instead and remove ;; the configure phase. - '(#:make-flags + `(#:make-flags (list (string-append "SH=" (assoc-ref %build-inputs "bash") "/bin/sh") (string-append "INSTALLPREFIX=" (assoc-ref %outputs "out")) - "CC=gcc" + ,(string-append "CC=" (cc-for-target)) ;; Allow executables to find libminiupnpc.so. (string-append "LDFLAGS=-Wl,-rpath=" diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 418fe73fdc..15c5377a3d 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -269,8 +269,8 @@ (define-public bemenu (base32 "1fjcs9d3533ay3nz79cx3c0lmy2chgragr2lhsy0xl2ckr0iins0")))) (build-system gnu-build-system) (arguments - '(#:tests? #f - #:make-flags (list "CC=gcc" + `(#:tests? #f + #:make-flags (list ,(string-append "CC=" (cc-for-target)) "CFLAGS=-O2 -fPIC" (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib") @@ -892,7 +892,7 @@ (define-public xbanish (build-system gnu-build-system) (arguments `(#:tests? #f ; no tests - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases (delete 'configure)))) ; no configure script @@ -1071,7 +1071,7 @@ (define-public sxhkd `(#:phases (modify-phases %standard-phases (delete 'configure)) #:tests? #f ; no check target #:make-flags - (list "CC=gcc" + (list ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" %output) ;; Keep the documentation where the build system installs LICENSE. (string-append "DOCPREFIX=" %output @@ -1184,7 +1184,7 @@ (define-public xcape #:phases (modify-phases %standard-phases (delete 'configure)) #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) "MANDIR=/share/man/man1" - "CC=gcc"))) + ,(string-append "CC=" (cc-for-target))))) (inputs `(("libxtst" ,libxtst) ("libx11" ,libx11))) @@ -1553,7 +1553,7 @@ (define-public xssproxy (arguments `(#:make-flags `("bindir=/bin" "man1dir=/share/man/man1" ,(string-append "DESTDIR=" (assoc-ref %outputs "out")) - "CC=gcc") + ,,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (delete 'configure) (delete 'check)))) @@ -2102,7 +2102,7 @@ (define-public xrandr-invert-colors "1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h")))) (build-system gnu-build-system) (arguments - `(#:make-flags (list "CC=gcc") + `(#:make-flags (list ,(string-append "CC=" (cc-for-target))) #:tests? #f ; there are none #:phases (modify-phases %standard-phases @@ -2407,7 +2407,7 @@ (define-public xsettingsd (arguments `(#:scons ,scons-python2 #:scons-flags - (list "CC=gcc") + (list ,(string-append "CC=" (cc-for-target))) #:phases (modify-phases %standard-phases (add-before 'build 'patch-sconstruct @@ -2762,7 +2762,7 @@ (define-public hsetroot `(#:tests? #f #:make-flags (list - "CC=gcc" + ,(string-append "CC=" (cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases -- cgit v1.2.3