From 80059f54d9dd6b2ad8ba8b8c8b57a5b83c6dec87 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 6 Oct 2014 13:26:19 +0200 Subject: gnu: clucene: Enable the contrib-libs. * gnu/packages/rdf.scm (clucene): Enable the contribs-lib directory. --- gnu/packages/rdf.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/rdf.scm') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 19a68be229..e03f3d9e96 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -81,13 +81,16 @@ HTML and JSON.") (sha256 (base32 "1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx")) - (patches (list (search-patch "clucene-pkgconfig.patch"))))) + (patches (list + (search-patch "clucene-pkgconfig.patch") + (search-patch "clucene-contribs-lib.patch"))))) (build-system cmake-build-system) (inputs `(("boost" ,boost) ; could also use bundled copy ("zlib" ,zlib))) (arguments `(#:test-target "cl_test" + #:configure-flags '("-DBUILD_CONTRIBS_LIB=ON") #:tests? #f)) ; Tests do not compile, as TestIndexSearcher.cpp uses ; undeclared usleep. After fixing this, one needs to run ; "make test" in addition to "make cl_test", then -- cgit v1.2.3