* gnu: agg: Replace bootstrap phase.

* gnu/packages/graphics.scm (agg)[arguments]: Remove custom 'autoreconf
phase and replace default 'bootstrap phase. Use INVOKE.
[native-inputs]: Remove bash.
This commit is contained in:
Efraim Flashner 2018-10-09 10:32:16 +03:00
parent 31f45cf7be
commit 8d18edde75
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 4 deletions

View File

@ -709,17 +709,16 @@ and understanding different BRDFs (and other component functions).")
"--disable-examples") "--disable-examples")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'autoreconf (replace 'bootstrap
(lambda _ (lambda _
;; let's call configure from configure phase and not now ;; let's call configure from configure phase and not now
(substitute* "autogen.sh" (("./configure") "# ./configure")) (substitute* "autogen.sh" (("./configure") "# ./configure"))
(zero? (system* "sh" "autogen.sh"))))))) (invoke "sh" "autogen.sh"))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("libtool" ,libtool) ("libtool" ,libtool)
("autoconf" ,autoconf) ("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)))
("bash" ,bash)))
(inputs (inputs
`(("libx11" ,libx11) `(("libx11" ,libx11)
("freetype" ,freetype) ("freetype" ,freetype)