;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
"0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
(build-system gnu-build-system)
(arguments
- '(#:parallel-build? #f
- ;; By default, man pages are put in PREFIX/man,
- ;; but we want them in PREFIX/share/man.
- #:configure-flags (list (string-append "--mandir="
- (assoc-ref %outputs "out")
- "/share/man"))))
- (home-page "http://www.gnu.org/software/pth")
+ `(#:parallel-build? #f
+ #:configure-flags (list
+ ,@(if (string=? "aarch64-linux"
+ (%current-system))
+ '("--host=aarch64-unknown-linux-gnu")
+ '()))))
+ (home-page "https://www.gnu.org/software/pth/")
(synopsis "Portable thread library")
(description
"GNU Pth is a portable library providing non-preemptive, priority-based
scheduling for multiple execution threads. Each thread has its own
-program-counter, run-time stack, signal mask and errno variable. Threads are
+program-counter, run-time stack, signal mask and errno variable. Threads are
scheduled in a cooperative way, rather than in the standard preemptive way,
such that they are managed according to priority and events. However, Pth
also features emulation of POSIX.1c threads (\"pthreads\") for backwards