summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-01 13:43:56 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-11-25 17:04:20 +0100
commit06dd29ef4f64109cbdaa611729eabe38ce1a5379 (patch)
treeb6bafa5efbe2a470078a63ec2ec73c753d32e8f4
parentb64665d1d31d618014f72be6a21a6a6b1825b2d7 (diff)
downloadpatches-06dd29ef4f64109cbdaa611729eabe38ce1a5379.tar
patches-06dd29ef4f64109cbdaa611729eabe38ce1a5379.tar.gz
gnu: libetonyek: Fix build against mdds 1.4.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Add phase to substitute mdds version. Adjust #:configure-flags accordingly.
-rw-r--r--gnu/packages/libreoffice.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index a26deec946..9d68ca8f0f 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -411,7 +411,16 @@ CorelDRAW documents of all versions.")
"0bfq9rwm040xhh7b3v0gsdavwvnrz4hkwnhpggarxk70mr3j7jcx"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--with-mdds=1.2")))
+ `(#:configure-flags '("--with-mdds=1.4")
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'support-mdds-1.4
+ (lambda _
+ ;; This package already works fine with mdds 1.4, but the
+ ;; configure check is too strict. Taken from upstream.
+ (substitute* "configure"
+ (("mdds=1\\.2") "mdds=1.4")
+ (("mdds=\"1\\.2\"") "mdds=\"1.4\""))
+ #t)))))
(native-inputs
`(("cppunit" ,cppunit)
("doxygen" ,doxygen)