mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: fontforge: Remove 'patch-configure' phase.
* gnu/packages/fontutils.scm (fontforge)[arguments]: Remove 'patch-configure' phase, which became unnecessary in the latest versions.
This commit is contained in:
parent
5f031ed242
commit
17b974f71c
1 changed files with 0 additions and 15 deletions
|
@ -542,21 +542,6 @@ (define-public fontforge
|
|||
'(#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((libxml2 (assoc-ref inputs "libxml2"))
|
||||
(cairo (assoc-ref inputs "cairo"))
|
||||
(pango (assoc-ref inputs "pango")))
|
||||
(substitute* "configure"
|
||||
;; configure looks for a directory to be present to determine
|
||||
;; whether libxml2 is available, rather than checking for the
|
||||
;; library or headers. Point it to the correct directory.
|
||||
(("/usr/include/libxml2")
|
||||
(string-append libxml2 "/include/libxml2"))
|
||||
;; Similary, the search directories for cairo and pango are
|
||||
;; hard-coded.
|
||||
(("gww_prefix in.*") (string-append "gww_prefix in "
|
||||
cairo " " pango "\n"))))))
|
||||
(add-after 'build 'build-contrib
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue