From 5c3f2a5a77031c52b5b9f6b912382646afbc60ff Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sat, 7 Mar 2015 22:39:43 -0500 Subject: [PATCH] gnu: lrdf: Fix phases. Fixes a regression caused by 722ec722441a755e18fbc696d23441427dfb26af. * gnu/packages/rdf.scm (lrdf)[arguments]: Swap order of 'alist-cons-after' calls. --- gnu/packages/rdf.scm | 30 +++++++++++++++--------------- 1 file 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)