guix-commits
[Top][All Lists]
Advanced

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

13/16: gnu: innoextract: Fix build failure with recent Boost and CMake.


From: guix-commits
Subject: 13/16: gnu: innoextract: Fix build failure with recent Boost and CMake.
Date: Sat, 14 Mar 2020 07:03:56 -0400 (EDT)

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

commit 75ca2cdaff06b125b39a4f71499efcb73aa94b6c
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Mar 14 01:24:41 2020 +0100

    gnu: innoextract: Fix build failure with recent Boost and CMake.
    
    * gnu/packages/compression.scm (innoextract)[arguments]: Add 
#:configure-flags
    to prevent usage of Boost's CMake scripts.  While at it, remove the obsolete
     #:phases.
---
 gnu/packages/compression.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c3b5632..0dec289 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1781,17 +1781,7 @@ single-member files which can't be decompressed in 
parallel.")
    (build-system cmake-build-system)
    (arguments
     `(#:tests? #f
-      #:phases (modify-phases %standard-phases
-                 (add-before 'configure 'glibc-is-already-a-system-library
-                   (lambda _
-                     ;; Prevent the build system from passing the glibc
-                     ;; header files to GCC as "system headers", because
-                     ;; it conflicts with the system headers already known
-                     ;; to GCC, causing #include_next failures.
-                     (substitute* "CMakeLists.txt"
-                       (("include_directories\\(SYSTEM \\$\\{iconv")
-                        "include_directories(${iconv"))
-                     #t)))))
+      #:configure-flags '("-DBoost_NO_BOOST_CMAKE=ON")))
    (inputs `(("boost" ,boost)
              ("libiconv" ,libiconv)
              ("xz" ,xz)))



reply via email to

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