summaryrefslogtreecommitdiff
path: root/gnu/packages/ghostscript.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2019-07-02 16:20:19 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2019-09-24 08:14:12 +0200
commit3fe8fe5360a0c53296d807a5109d6a94adc5d95f (patch)
treef2efc0e7959e0fef49eb3c3102a248c0af61fdae /gnu/packages/ghostscript.scm
parente373adc13969bb8d5bf7c040fb32b8a51b40c91b (diff)
gnu: libpaper: Fix aarch64 cross-compilation.
The packaged config.sub and config.guess do not have aarch64 support. Replace them by the ones from automake. * gnu/packages/ghostscript.scm (libpaper)[arguments]: Replace outdated config.sub and config.guess, taken from ... [native-inputs]: ... here, by adding automake.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r--gnu/packages/ghostscript.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 3b74a969661..7839ac5b727 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -8,6 +8,7 @@
8;;; Copyright © 2017 Leo Famulari <leo@famulari.name> 8;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
9;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> 9;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
10;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> 10;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
11;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
11;;; 12;;;
12;;; This file is part of GNU Guix. 13;;; This file is part of GNU Guix.
13;;; 14;;;
@@ -84,6 +85,24 @@ Consortium standard (ICC), approved as ISO 15076-1.")
84 (sha256 (base32 85 (sha256 (base32
85 "0zhcx67afb6b5r936w5jmaydj3ks8zh83n9rm5sv3m3k8q8jib1q")))) 86 "0zhcx67afb6b5r936w5jmaydj3ks8zh83n9rm5sv3m3k8q8jib1q"))))
86 (build-system gnu-build-system) 87 (build-system gnu-build-system)
88 (native-inputs
89 `(("automake" ,automake))) ; For up to date 'config.guess' and 'config.sub'.
90 (arguments
91 `(#:phases
92 (modify-phases %standard-phases
93 (add-after 'unpack 'fix-configure
94 (lambda* (#:key inputs native-inputs #:allow-other-keys)
95 ;; Replace outdated config.sub and config.guess:
96 (for-each (lambda (file)
97 (install-file
98 (string-append (assoc-ref
99 (or native-inputs inputs) "automake")
100 "/share/automake-"
101 ,(version-major+minor
102 (package-version automake))
103 "/" file) "."))
104 '("config.sub" "config.guess"))
105 #t)))))
87 (synopsis "Library for handling paper sizes") 106 (synopsis "Library for handling paper sizes")
88 (description 107 (description
89 "The paper library and accompanying files are intended to provide a simple 108 "The paper library and accompanying files are intended to provide a simple