diff options
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 9aa69cfe77..7c5ac61f01 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <[email protected]> ;;; Copyright © 2014 Alex Kost <[email protected]> ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <[email protected]> -;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <[email protected]> +;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <[email protected]> ;;; Copyright © 2016, 2020 Jan (janneke) Nieuwenhuizen <[email protected]> ;;; Copyright © 2016, 2018 Alex Vong <[email protected]> ;;; Copyright © 2017 Rene Saavedra <[email protected]> @@ -15,6 +15,8 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]> ;;; Copyright © 2018, 2019 Ricardo Wurmus <[email protected]> ;;; Copyright © 2020 Vitaliy Shatrov <[email protected]> +;;; Copyright © 2020 Chris Marusich <[email protected]> +;;; Copyright © 2021 Leo Le Bouter <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -890,6 +892,14 @@ the store.") files))) #t))) + ,@(if (target-powerpc?) + '((add-after 'unpack 'apply-patch + (lambda* (#:key inputs #:allow-other-keys) + (let ((patch (assoc-ref inputs + "powerpc64le-patch"))) + (invoke "patch" "--force" "-p1" + "-i" patch))))) + '()) ,@(if (hurd-target?) '((add-after 'install 'augment-libc.so (lambda* (#:key outputs #:allow-other-keys) @@ -911,6 +921,10 @@ the store.") ("gettext" ,gettext-minimal) ("python" ,python-minimal) + ,@(if (target-powerpc?) + `(("powerpc64le-patch" ,@(search-patches + "glibc-ldd-powerpc.patch"))) + '()) ,@(if (hurd-target?) `(("mig" ,mig) ("perl" ,perl)) |