gnu: fontconfig: Fix test-suite for freetype update.

* gnu/packages/fontutils.scm (fontconfig)[arguments]: Add phase to fix
the test-suite to have the input expected.
This commit is contained in:
Efraim Flashner 2017-02-27 08:29:05 +02:00
parent 212c775c9c
commit 1c598515cd
No known key found for this signature in database
GPG key ID: F4C1D3917EACEE93

View file

@ -2,7 +2,7 @@
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -255,6 +255,11 @@ (define-public fontconfig
"PYTHON=false")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests-for-freetype-2.7.1
(lambda _
(substitute* "test/run-test.sh"
(("\\\| sort") "| cut -d' ' -f2 | sort"))
#t))
(replace 'install
(lambda _
;; Don't try to create /var/cache/fontconfig.