summary refs log tree commit diff
path: root/gnu/packages/rdf.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-03-07 22:39:43 -0500
committerMark H Weaver <mhw@netris.org>2015-03-07 22:39:43 -0500
commit5c3f2a5a77031c52b5b9f6b912382646afbc60ff (patch)
tree7510eb7420b60f9210c13cd1b666b528e2e655c8 /gnu/packages/rdf.scm
parent0e396872a6375d875982ebafc283659a85208261 (diff)
downloadguix-5c3f2a5a77031c52b5b9f6b912382646afbc60ff.tar.gz
gnu: lrdf: Fix phases.
Fixes a regression caused by 722ec722441a755e18fbc696d23441427dfb26af.

* gnu/packages/rdf.scm (lrdf)[arguments]: Swap order of 'alist-cons-after'
  calls.
Diffstat (limited to 'gnu/packages/rdf.scm')
-rw-r--r--gnu/packages/rdf.scm30
1 files changed, 15 insertions, 15 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index a76b2c30ab..b105f0b1d7 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -127,24 +127,24 @@ Java Lucene text search engine API to C++.")
     (build-system gnu-build-system)
     (arguments
      '(#:phases (alist-cons-after
-                 'unpack 'remove-out-of-tree-references
+                 'remove-out-of-tree-references 'autoreconf
                  (lambda _
-                   ;; remove symlinks to files in /usr/
-                   (delete-file-recursively "m4")
-                   (for-each delete-file '("config.guess"
-                                           "config.sub"
-                                           "depcomp"
-                                           "install-sh"
-                                           "ltmain.sh"
-                                           "missing"))
-                   ;; remove_test depends on an out-of-tree RDF file
-                   (substitute* "examples/Makefile.am"
-                     (("instances_test remove_test") "instances_test")
-                     (("\\$\\(TESTS\\) remove_test") "$(TESTS)")))
+                   (zero? (system* "autoreconf" "-vfi")))
                  (alist-cons-after
-                  'remove-out-of-tree-references 'autoreconf
+                  'unpack 'remove-out-of-tree-references
                   (lambda _
-                    (zero? (system* "autoreconf" "-vfi")))
+                    ;; remove symlinks to files in /usr/
+                    (delete-file-recursively "m4")
+                    (for-each delete-file '("config.guess"
+                                            "config.sub"
+                                            "depcomp"
+                                            "install-sh"
+                                            "ltmain.sh"
+                                            "missing"))
+                    ;; remove_test depends on an out-of-tree RDF file
+                    (substitute* "examples/Makefile.am"
+                      (("instances_test remove_test") "instances_test")
+                      (("\\$\\(TESTS\\) remove_test") "$(TESTS)")))
                   %standard-phases))))
     (inputs
      `(("raptor" ,raptor2)