guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: libetonyek: Fix build against mdds 1.4.


From: guix-commits
Subject: 04/05: gnu: libetonyek: Fix build against mdds 1.4.
Date: Sun, 25 Nov 2018 11:31:00 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 06dd29ef4f64109cbdaa611729eabe38ce1a5379
Author: Marius Bakke <address@hidden>
Date:   Sat Sep 1 13:43:56 2018 +0200

    gnu: libetonyek: Fix build against mdds 1.4.
    
    * gnu/packages/libreoffice.scm (libetonyek)[arguments]: Add phase to
    substitute mdds version.  Adjust #:configure-flags accordingly.
---
 gnu/packages/libreoffice.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index a26deec..9d68ca8 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]