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 <me@tobias.gr>
This commit is contained in:
parent
eb305784bf
commit
9c44af6bd6
16 changed files with 62 additions and 58 deletions
|
@ -3062,7 +3062,7 @@ produce uniform output across heterogeneous networks.")
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)))) ; no configure script
|
(delete 'configure)))) ; no configure script
|
||||||
|
|
|
@ -228,7 +228,7 @@ It has macro abilities and focuses on operating system portability.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-build? #f ; They use submakes wrong
|
`(#:parallel-build? #f ; They use submakes wrong
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref %outputs "out")))
|
(assoc-ref %outputs "out")))
|
||||||
#:system "i686-linux" ; Standalone ld86 had problems otherwise
|
#:system "i686-linux" ; Standalone ld86 had problems otherwise
|
||||||
|
|
|
@ -599,9 +599,9 @@ the data.")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
`(#:tests? #f
|
||||||
#:phases (modify-phases %standard-phases (delete 'configure))
|
#:phases (modify-phases %standard-phases (delete 'configure))
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref %outputs "out")))))
|
(assoc-ref %outputs "out")))))
|
||||||
(synopsis "Get CDDB discid information from an audio CD")
|
(synopsis "Get CDDB discid information from an audio CD")
|
||||||
|
|
|
@ -214,7 +214,7 @@ communication, encryption, decryption, signatures, etc.")
|
||||||
;; like OpenBSD's pledge().
|
;; like OpenBSD's pledge().
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -376,7 +376,7 @@ the wrong hands.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure)) ; no configure script
|
(delete 'configure)) ; no configure script
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
"RPATH=-Wl,-rpath,$(DESTDIR)$(LIBDIR)"
|
"RPATH=-Wl,-rpath,$(DESTDIR)$(LIBDIR)"
|
||||||
(string-append "DESTDIR="
|
(string-append "DESTDIR="
|
||||||
(assoc-ref %outputs "out"))
|
(assoc-ref %outputs "out"))
|
||||||
|
@ -469,7 +469,7 @@ no man page, refer to the home page for usage details.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No test suite
|
`(#:tests? #f ; No test suite
|
||||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configuration to be done
|
(delete 'configure) ; no configuration to be done
|
||||||
|
@ -629,7 +629,7 @@ attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.")
|
||||||
(outputs (list "out" "static"))
|
(outputs (list "out" "static"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "PREFIX=" %output)
|
`(#:make-flags (list (string-append "PREFIX=" %output)
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
|
@ -1070,8 +1070,9 @@ cannot sign messages in OpenBSD format yet.")
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no check target '
|
`(#:tests? #f ; no check target '
|
||||||
#:make-flags (list "CC=gcc" "PREFIX=$(out)")
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
|
"PREFIX=$(out)")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'install 'post-install
|
(add-after 'install 'post-install
|
||||||
|
|
|
@ -25357,7 +25357,7 @@ other @code{helm-type-file} sources such as @code{helm-locate}.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "server/Makefile"
|
(substitute* "server/Makefile"
|
||||||
(("CC=cc")
|
(("CC=cc")
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
(("INSTALL_PREFIX=\\$\\(HOME\\)/.telega")
|
(("INSTALL_PREFIX=\\$\\(HOME\\)/.telega")
|
||||||
(string-append "INSTALL_PREFIX=" (assoc-ref %outputs "out")
|
(string-append "INSTALL_PREFIX=" (assoc-ref %outputs "out")
|
||||||
"/bin"))
|
"/bin"))
|
||||||
|
|
|
@ -72,6 +72,7 @@
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system perl)
|
#:use-module (guix build-system perl)
|
||||||
|
@ -996,7 +997,7 @@ them to transform your existing public key into a secret key.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no make check
|
`(#:tests? #f ; no make check
|
||||||
#:configure-flags (list "--prefix=/")
|
#: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")))))
|
(string-append "DESTDIR=" (assoc-ref %outputs "out")))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
|
|
|
@ -89,10 +89,11 @@
|
||||||
"1d13x8hmvpdc5f5rj4l29ha7iz7wvqxjlvh6il04wq8igzrj0x23"))))
|
"1d13x8hmvpdc5f5rj4l29ha7iz7wvqxjlvh6il04wq8igzrj0x23"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases (delete 'configure))
|
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:make-flags
|
#: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"
|
"exif=1"
|
||||||
"inotify=1")))
|
"inotify=1")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
@ -579,7 +580,7 @@ displayed in a terminal.")
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'install 'record-absolute-file-names
|
(add-after 'install 'record-absolute-file-names
|
||||||
|
@ -593,7 +594,7 @@ displayed in a terminal.")
|
||||||
(string-append bin "/imv-")))
|
(string-append bin "/imv-")))
|
||||||
#t))))
|
#t))))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "CONFIGPREFIX="
|
(string-append "CONFIGPREFIX="
|
||||||
(assoc-ref %outputs "out") "/etc"))))
|
(assoc-ref %outputs "out") "/etc"))))
|
||||||
|
|
|
@ -457,8 +457,8 @@ lossless JPEG manipulations such as rotation, scaling or cropping:
|
||||||
"libjxr-fix-typos.patch"))))
|
"libjxr-fix-typos.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
;; A substitute* procedure call would be enough to add the -fPIC
|
;; A substitute* procedure call would be enough to add the -fPIC
|
||||||
;; flag if there was no file decoding error.
|
;; flag if there was no file decoding error.
|
||||||
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
|
;; The makefile is a "Non-ISO extended-ASCII text, with CRLF line
|
||||||
|
@ -890,7 +890,7 @@ JPEG 2000 Reference Software.")
|
||||||
(outputs '("bin" ; utility programs
|
(outputs '("bin" ; utility programs
|
||||||
"out")) ; library
|
"out")) ; library
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags (list "CC=gcc"
|
`(#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref %outputs "out"))
|
(assoc-ref %outputs "out"))
|
||||||
(string-append "BINDIR="
|
(string-append "BINDIR="
|
||||||
|
@ -1114,7 +1114,7 @@ supplies a generic doubly-linked list and some string functions.")
|
||||||
"0cwjxjz0f4gs6igvwqg0p99mnrsrwzkal1l2n08yvz2xq9s5khki"))))))))
|
"0cwjxjz0f4gs6igvwqg0p99mnrsrwzkal1l2n08yvz2xq9s5khki"))))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; According to Fedora these files depend on private headers, but their
|
;; According to Fedora these files depend on private headers, but their
|
||||||
;; presence is required for building, so we replace them with empty files.
|
;; presence is required for building, so we replace them with empty files.
|
||||||
|
@ -1138,7 +1138,7 @@ supplies a generic doubly-linked list and some string functions.")
|
||||||
(("-o root -g root") ""))
|
(("-o root -g root") ""))
|
||||||
#t)))
|
#t)))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
;; We need '-fpermissive' for Source/FreeImage.h.
|
;; We need '-fpermissive' for Source/FreeImage.h.
|
||||||
;; libjxr doesn't have a pkg-config file.
|
;; libjxr doesn't have a pkg-config file.
|
||||||
(string-append "CFLAGS+=-O2 -fPIC -fvisibility=hidden -fpermissive "
|
(string-append "CFLAGS+=-O2 -fPIC -fvisibility=hidden -fpermissive "
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
|
@ -343,7 +344,7 @@ for the IRCv3 protocol.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags (list (string-append "PREFIX=" %output)
|
#:make-flags (list (string-append "PREFIX=" %output)
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)))) ; no configure
|
(delete 'configure)))) ; no configure
|
||||||
|
@ -367,7 +368,7 @@ for the IRCv3 protocol.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" %output))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
|
@ -215,7 +215,7 @@ some projects.")))
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(let ((out (assoc-ref %outputs "out"))
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(lua-version ,(version-major+minor (package-version lua))))
|
(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_LDIR=" out "/share/lua/" lua-version)
|
||||||
(string-append "LUA_CDIR=" out "/lib/lua/" lua-version)))
|
(string-append "LUA_CDIR=" out "/lib/lua/" lua-version)))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -356,7 +356,7 @@ directory structure and file attributes.")
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(let ((out (assoc-ref %outputs "out"))
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(lua-api-version ,(version-major+minor (package-version lua))))
|
(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
|
"CFLAGS='-D HAVE_SYS_SYSCTL_H=0'" ; sys/sysctl.h is deprecated
|
||||||
(string-append "prefix=" out)
|
(string-append "prefix=" out)
|
||||||
(string-append "LUA_APIS=" lua-api-version)))
|
(string-append "LUA_APIS=" lua-api-version)))
|
||||||
|
@ -417,7 +417,7 @@ binds OpenSSL's bignum, message digest, HMAC, cipher, and CSPRNG interfaces.")
|
||||||
(let ((out (assoc-ref %outputs "out"))
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(lua-version ,(version-major+minor (package-version lua))))
|
(lua-version ,(version-major+minor (package-version lua))))
|
||||||
(list "linux"
|
(list "linux"
|
||||||
"CC=gcc"
|
,(string-append "CC=" (cc-for-target))
|
||||||
"LD=gcc"
|
"LD=gcc"
|
||||||
(string-append "LUAPATH=" out "/share/lua/" lua-version)
|
(string-append "LUAPATH=" out "/share/lua/" lua-version)
|
||||||
(string-append "LUACPATH=" out "/lib/lua/" lua-version)))
|
(string-append "LUACPATH=" out "/lib/lua/" lua-version)))
|
||||||
|
@ -465,7 +465,7 @@ secure session between the peers.")
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(let ((out (assoc-ref %outputs "out"))
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(lua-api-version ,(version-major+minor (package-version lua))))
|
(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)))
|
(string-append "LUA_APIS=" lua-api-version)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -657,7 +657,7 @@ describing the commented declarations and functions.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -1014,7 +1014,7 @@ on numbers.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;TODO: Run the test suite.
|
`(#: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))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
|
@ -1339,7 +1339,7 @@ and min/max network usage.")
|
||||||
"0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
|
"0gh17kcxxi37k65zm4gqsvbk3aw7yphcs3c02pn1c4s2y6n40axd"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-before 'build 'fix-ifconfig-path
|
(add-before 'build 'fix-ifconfig-path
|
||||||
|
@ -1357,7 +1357,7 @@ and min/max network usage.")
|
||||||
test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
|
test_parse_format_ipv(4(|_listen_all|_mapped_ipv6)|6)\\);")
|
||||||
""))
|
""))
|
||||||
#t)))
|
#t)))
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||||
#:test-target "test"))
|
#:test-target "test"))
|
||||||
(inputs `(("net-tools" ,net-tools)
|
(inputs `(("net-tools" ,net-tools)
|
||||||
|
@ -1639,7 +1639,7 @@ transmission protocol (SCTP) in a Go application.")
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
("openssl" ,openssl)))
|
("openssl" ,openssl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list "CC=gcc"
|
`(#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
||||||
"PREFIX=")
|
"PREFIX=")
|
||||||
#:tests? #f)) ; no tests
|
#:tests? #f)) ; no tests
|
||||||
|
@ -1840,8 +1840,8 @@ allows for heavy scripting.")
|
||||||
"07nym6bqml0k9v29vnj003nrgnwrywgjvnljb7cdpsvnwilhbp64"))))
|
"07nym6bqml0k9v29vnj003nrgnwrywgjvnljb7cdpsvnwilhbp64"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -2299,7 +2299,7 @@ library remains flexible, portable, and easily embeddable.")
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
("tcp-wrappers" ,tcp-wrappers)))
|
("tcp-wrappers" ,tcp-wrappers)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
(add-before 'check 'fix-tests
|
(add-before 'check 'fix-tests
|
||||||
|
@ -2321,7 +2321,7 @@ library remains flexible, portable, and easily embeddable.")
|
||||||
(append (find-files "." "\\.cfg")
|
(append (find-files "." "\\.cfg")
|
||||||
(find-files "scripts"))))
|
(find-files "scripts"))))
|
||||||
#t)))
|
#t)))
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
"USELIBCAP=1"
|
"USELIBCAP=1"
|
||||||
"USELIBWRAP=1"
|
"USELIBWRAP=1"
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
|
@ -2384,7 +2384,7 @@ the bandwidth, loss, and other parameters.")
|
||||||
`(("libpcap" ,libpcap)
|
`(("libpcap" ,libpcap)
|
||||||
("ncurses" ,ncurses)))
|
("ncurses" ,ncurses)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags `("CC=gcc"
|
`(#:make-flags `(,,(string-append "CC=" (cc-for-target))
|
||||||
,(string-append "PREFIX=" %output)
|
,(string-append "PREFIX=" %output)
|
||||||
,(string-append "VERSION=" ,version))
|
,(string-append "VERSION=" ,version))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -2612,11 +2612,11 @@ returns the user name and other information about the connection.")
|
||||||
"04rpnc53whfky7pp2m9h35gwzwn6788pnl6c1qd576mpknbqjw4d"))))
|
"04rpnc53whfky7pp2m9h35gwzwn6788pnl6c1qd576mpknbqjw4d"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "test"
|
`(#:test-target "test"
|
||||||
#:make-flags (let* ((out (assoc-ref %outputs "out"))
|
#:make-flags (let* ((out (assoc-ref %outputs "out"))
|
||||||
(bindir (string-append out "/bin"))
|
(bindir (string-append out "/bin"))
|
||||||
(man1dir (string-append out "/share/man/man1")))
|
(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 "BINDIR=" bindir)
|
||||||
(string-append "MAN1DIR=" man1dir)))
|
(string-append "MAN1DIR=" man1dir)))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -3035,7 +3035,7 @@ from user-space. It requires a kernel built with SocketCAN support.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; No tests exist.
|
`(#:tests? #f ; No tests exist.
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX="
|
(string-append "PREFIX="
|
||||||
(assoc-ref %outputs "out")))
|
(assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -3288,7 +3288,7 @@ Ethernet and TAP interfaces is supported. Packet capture is also supported.")
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
|
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
|
||||||
#:tests? #f ; no test suite
|
#:tests? #f ; no test suite
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -3646,7 +3646,7 @@ written (and providing API) in C. Current implementation covers YANG 1.0 (RFC
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "PKG_CONFIG=" (assoc-ref %build-inputs "pkg-config")
|
(string-append "PKG_CONFIG=" (assoc-ref %build-inputs "pkg-config")
|
||||||
"/bin/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")
|
(home-page "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki")
|
||||||
(synopsis "Management tool for the mesh networking BATMAN protocol")
|
(synopsis "Management tool for the mesh networking BATMAN protocol")
|
||||||
(description "This package provides a control tool for the
|
(description "This package provides a control tool for the
|
||||||
|
|
|
@ -1135,7 +1135,7 @@ information for every pixel as the input.")
|
||||||
"0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm"))))
|
"0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-FHS-file-names
|
(add-after 'unpack 'patch-FHS-file-names
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -1144,7 +1144,7 @@ information for every pixel as the input.")
|
||||||
(("/sbin/ldconfig -p") "echo lib")) #t))
|
(("/sbin/ldconfig -p") "echo lib")) #t))
|
||||||
(delete 'configure))
|
(delete 'configure))
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))))
|
(string-append "prefix=" (assoc-ref %outputs "out")))))
|
||||||
(inputs `(("libjpeg" ,libjpeg-turbo)
|
(inputs `(("libjpeg" ,libjpeg-turbo)
|
||||||
("curl" ,curl)
|
("curl" ,curl)
|
||||||
|
|
|
@ -878,8 +878,8 @@ of existing remote shell facilities such as SSH.")
|
||||||
(base32 "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68"))))
|
(base32 "0ziwr8j1frsp3dajr8h5glkm1dn5cci404kazz5w1jfrp0736x68"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"CC=gcc")
|
,(string-append "CC=" (cc-for-target)))
|
||||||
#:tests? #f ; no test target
|
#:tests? #f ; no test target
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
|
@ -219,7 +219,7 @@ and various scenery elements.")
|
||||||
"1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k"))))
|
"1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:make-flags '("CC=gcc")
|
`(#:make-flags '(,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure) ; no configure script
|
(delete 'configure) ; no configure script
|
||||||
|
|
|
@ -61,11 +61,11 @@
|
||||||
;; The build system does not use a configure script but depends on
|
;; The build system does not use a configure script but depends on
|
||||||
;; `make'. Hence we should pass parameters to `make' instead and remove
|
;; `make'. Hence we should pass parameters to `make' instead and remove
|
||||||
;; the configure phase.
|
;; the configure phase.
|
||||||
'(#:make-flags
|
`(#:make-flags
|
||||||
(list
|
(list
|
||||||
(string-append "SH=" (assoc-ref %build-inputs "bash") "/bin/sh")
|
(string-append "SH=" (assoc-ref %build-inputs "bash") "/bin/sh")
|
||||||
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
|
(string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
|
||||||
"CC=gcc"
|
,(string-append "CC=" (cc-for-target))
|
||||||
|
|
||||||
;; Allow executables to find libminiupnpc.so.
|
;; Allow executables to find libminiupnpc.so.
|
||||||
(string-append "LDFLAGS=-Wl,-rpath="
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
|
|
@ -269,8 +269,8 @@ used to further tweak the behaviour of the different profiles.")
|
||||||
(base32 "1fjcs9d3533ay3nz79cx3c0lmy2chgragr2lhsy0xl2ckr0iins0"))))
|
(base32 "1fjcs9d3533ay3nz79cx3c0lmy2chgragr2lhsy0xl2ckr0iins0"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
`(#:tests? #f
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list ,(string-append "CC=" (cc-for-target))
|
||||||
"CFLAGS=-O2 -fPIC"
|
"CFLAGS=-O2 -fPIC"
|
||||||
(string-append "LDFLAGS=-Wl,-rpath="
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out") "/lib")
|
(assoc-ref %outputs "out") "/lib")
|
||||||
|
@ -892,7 +892,7 @@ to find buttons, etc, on the screen to click on.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#: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")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure)))) ; no configure script
|
(delete 'configure)))) ; no configure script
|
||||||
|
@ -1071,7 +1071,7 @@ Guile will work for XBindKeys.")
|
||||||
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
`(#:phases (modify-phases %standard-phases (delete 'configure))
|
||||||
#:tests? #f ; no check target
|
#:tests? #f ; no check target
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list ,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" %output)
|
(string-append "PREFIX=" %output)
|
||||||
;; Keep the documentation where the build system installs LICENSE.
|
;; Keep the documentation where the build system installs LICENSE.
|
||||||
(string-append "DOCPREFIX=" %output
|
(string-append "DOCPREFIX=" %output
|
||||||
|
@ -1184,7 +1184,7 @@ within a single process.")
|
||||||
#:phases (modify-phases %standard-phases (delete 'configure))
|
#:phases (modify-phases %standard-phases (delete 'configure))
|
||||||
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"MANDIR=/share/man/man1"
|
"MANDIR=/share/man/man1"
|
||||||
"CC=gcc")))
|
,(string-append "CC=" (cc-for-target)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libxtst" ,libxtst)
|
`(("libxtst" ,libxtst)
|
||||||
("libx11" ,libx11)))
|
("libx11" ,libx11)))
|
||||||
|
@ -1553,7 +1553,7 @@ demos. It also acts as a nice screen locker.")
|
||||||
(arguments `(#:make-flags `("bindir=/bin"
|
(arguments `(#:make-flags `("bindir=/bin"
|
||||||
"man1dir=/share/man/man1"
|
"man1dir=/share/man/man1"
|
||||||
,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
||||||
"CC=gcc")
|
,,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(delete 'check))))
|
(delete 'check))))
|
||||||
|
@ -2102,7 +2102,7 @@ to automatically turn it on on login.")
|
||||||
"1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h"))))
|
"1br3x9vr6xm4ika06n8cfxx1b3wdchdqvyzjl4y1chmivrml8x9h"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list "CC=gcc")
|
`(#:make-flags (list ,(string-append "CC=" (cc-for-target)))
|
||||||
#:tests? #f ; there are none
|
#:tests? #f ; there are none
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -2407,7 +2407,7 @@ Xwrits hides itself until you should take another break.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:scons ,scons-python2
|
`(#:scons ,scons-python2
|
||||||
#:scons-flags
|
#:scons-flags
|
||||||
(list "CC=gcc")
|
(list ,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'patch-sconstruct
|
(add-before 'build 'patch-sconstruct
|
||||||
|
@ -2762,7 +2762,7 @@ and execute @file{.desktop} files of the Application type.")
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list
|
(list
|
||||||
"CC=gcc"
|
,(string-append "CC=" (cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Reference in a new issue