diff options
author | Leo Famulari <leo@famulari.name> | 2017-12-21 13:58:35 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2017-12-21 13:58:35 -0500 |
commit | f76fc968669721e3baa6a0662da8e9e9f5da66cf (patch) | |
tree | ae58b84d89f144fbec974b7e75b24574f99b2e33 /gnu/packages/textutils.scm | |
parent | 24ee3b28c6def91e4e41dd46441a029ab01b6d00 (diff) | |
parent | 5dc0e0b055ce2ab12c40066cee34511cd7a5cf03 (diff) | |
download | guix-f76fc968669721e3baa6a0662da8e9e9f5da66cf.tar guix-f76fc968669721e3baa6a0662da8e9e9f5da66cf.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r-- | gnu/packages/textutils.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 674a3507d0..2fb1d1495e 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -388,7 +388,14 @@ regular expression object can be specified.") (assoc-ref %outputs "out") "/share/antiword")) #:phases (modify-phases %standard-phases - (delete 'configure) + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + ;; Ensure that mapping files can be found in the actual package + ;; data directory. + (substitute* "antiword.h" + (("/usr/share/antiword") + (string-append (assoc-ref outputs "out") "/share/antiword"))) + #t)) (replace 'install (lambda* (#:key make-flags #:allow-other-keys) (zero? (apply system* "make" `("global_install" ,@make-flags)))))))) |