me
/
guix
Archived
1
0
Fork 0

gnu: sysfsutils-1: Pass --build to configure.

* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Pass --build to configure.
master
Mark H Weaver 2015-03-07 21:42:43 -05:00
parent e396976b9b
commit 0e396872a6
1 changed files with 7 additions and 0 deletions

View File

@ -1961,6 +1961,13 @@ also contains the libsysfs library.")
(substitute* "configure"
(("includedir='(\\$\\{prefix\\}/include)'" all orig)
(string-append "includedir='" orig "/sysfs'")))))))
;; XXX sysfsutils-1.3.0's config.guess fails on mips64el
(arguments `(#:configure-flags
'(,@(if (%current-target-system)
'()
(let ((triplet
(nix-system->gnu-triplet (%current-system))))
(list (string-append "--build=" triplet)))))))
(synopsis "System utilities based on Linux sysfs (version 1.x)")))
(define-public cpufrequtils