aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-03-13 19:57:14 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-03-13 20:17:10 +0200
commit0efb64524bf3abaf8f4de9514fd0fb083300b2f6 (patch)
treebea2ae9e843ba7f0a347534436b9c75b6b8c5061 /gnu
parent671249b934728b25bc4ccc710e78273981af5c1c (diff)
downloadguix-0efb64524bf3abaf8f4de9514fd0fb083300b2f6.tar.gz
guix-0efb64524bf3abaf8f4de9514fd0fb083300b2f6.zip
gnu: tinyxml: Use 'invoke'.
* gnu/packages/xml.scm (tinyxml)[arguments]: Replace 'system*' calls with 'invoke'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xml.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 80933a872b..bde959a284 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
-;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
@@ -1007,12 +1007,12 @@ UTF-8 and UTF-16 encoding.")
(delete 'configure)
(add-after 'build 'build-shared-library
(lambda _
- (zero? (system* "g++" "-Wall" "-O2" "-shared" "-fpic"
- "tinyxml.cpp" "tinyxmlerror.cpp"
- "tinyxmlparser.cpp" "tinystr.cpp"
- "-o" "libtinyxml.so"))))
+ (invoke "g++" "-Wall" "-O2" "-shared" "-fpic"
+ "tinyxml.cpp" "tinyxmlerror.cpp"
+ "tinyxmlparser.cpp" "tinystr.cpp"
+ "-o" "libtinyxml.so")))
(replace 'check
- (lambda _ (zero? (system "./xmltest"))))
+ (lambda _ (invoke "./xmltest")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))