gnu: inkscape: Use modify-phases syntax.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Use modify-phases syntax.
This commit is contained in:
parent
65d2f396f7
commit
3f62fa2b81
|
@ -1,6 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
||||||
;;; Copyright © 2014, 2016 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2016 Mark H Weaver <mhw@netris.org>
|
||||||
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -80,13 +81,13 @@
|
||||||
`(;; Add '-std=c++11', required by recent versions of GLibmm & co.
|
`(;; Add '-std=c++11', required by recent versions of GLibmm & co.
|
||||||
;; Use '-g0' to reduce disk usage during the build.
|
;; Use '-g0' to reduce disk usage during the build.
|
||||||
#:configure-flags '("CXXFLAGS=-g0 -O2 -fopenmp -std=c++11")
|
#:configure-flags '("CXXFLAGS=-g0 -O2 -fopenmp -std=c++11")
|
||||||
|
#:phases
|
||||||
#:phases (alist-cons-after
|
(modify-phases %standard-phases
|
||||||
'unpack 'fix-test-includes
|
(add-after 'unpack 'fix-test-includes
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/cxxtests.cpp"
|
(substitute* "src/cxxtests.cpp"
|
||||||
(("\\.\\./\\.\\./src") "../src")))
|
(("\\.\\./\\.\\./src") "../src"))
|
||||||
%standard-phases)))
|
#t)))))
|
||||||
(home-page "http://inkscape.org/")
|
(home-page "http://inkscape.org/")
|
||||||
(synopsis "Vector graphics editor")
|
(synopsis "Vector graphics editor")
|
||||||
(description "Inkscape is a vector graphics editor. What sets Inkscape
|
(description "Inkscape is a vector graphics editor. What sets Inkscape
|
||||||
|
|
Loading…
Reference in New Issue