From 2a8d44015ff2672b7a9a2ea5054b51a83b0e934b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Dec 2014 23:54:23 +0100 Subject: gnu: libxml2: Add search path specification. * gnu/packages/xml.scm (libxml2)[native-search-paths, search-paths]: New fields. * gnu/packages/gnome.scm (gnome-doc-utils)[arguments]: Remove. * gnu/packages/gps.scm (gpscorrelate)[arguments]: Remove settings for 'XML_CATALOG_FILES' from 'configure' phase. * gnu/packages/web.scm (tinyproxy)[arguments]: Likewise. --- gnu/packages/xml.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 63d0ef2132..62f8c3c376 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -68,6 +68,18 @@ (define-public libxml2 (inputs `(("zlib" ,zlib))) (native-inputs `(("perl" ,perl) ("python" ,python-2))) ; incompatible with Python 3 (print syntax) + + + ;; $XML_CATALOG_FILES lists 'catalog.xml' files found in under the 'xml' + ;; sub-directory of any given package. + (native-search-paths (search-path-specification + (variable "XML_CATALOG_FILES") + (separator " ") + (files '("xml")) + (file-pattern "^catalog\\.xml$") + (file-type 'regular))) + (search-paths native-search-paths) + (arguments `(#:phases (alist-replace -- cgit v1.2.3