gnu: fontconfig: Use invoke.
authorMark H Weaver <mhw@netris.org>
Fri, 23 Mar 2018 06:06:01 +0000 (02:06 -0400)
committerMark H Weaver <mhw@netris.org>
Fri, 23 Mar 2018 08:41:48 +0000 (04:41 -0400)
* gnu/packages/fontutils.scm (fontconfig): Use invoke in the install phase.

gnu/packages/fontutils.scm

index 04fc277..f296afe 100644 (file)
@@ -269,9 +269,9 @@ fonts to/from the WOFF2 format.")
         (replace 'install
                  (lambda _
                    ;; Don't try to create /var/cache/fontconfig.
-                   (zero? (system* "make" "install"
-                                   "fc_cachedir=$(TMPDIR)"
-                                   "RUN_FC_CACHE_TEST=false")))))))
+                   (invoke "make" "install"
+                           "fc_cachedir=$(TMPDIR)"
+                           "RUN_FC_CACHE_TEST=false"))))))
    (synopsis "Library for configuring and customizing font access")
    (description
     "Fontconfig can discover new fonts when installed automatically;