efraim pushed a commit to branch master
in repository guix.

commit b93e06a96418b7caba109cae327c3d226a33d782
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Nov 3 22:39:47 2021 +0200

    gnu: flightgear: Use system cppunit.
    
    * gnu/packages/games.scm (flightgear)[source]: Adjust snippet to remove
    bundled cppunit.
    [arguments]: Add configure-flag to use system cppunit.
---
 gnu/packages/games.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index df32a6b..7bab31f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9320,12 +9320,14 @@ and also provides the base for the FlightGear Flight 
Simulator.")
         '(begin
            ;; There are some bundled libraries.
            (for-each delete-file-recursively
-                     '("3rdparty/sqlite3/"))
+                     '("3rdparty/sqlite3/"
+                       "3rdparty/cppunit/"))
            #t))))
     (build-system qt-build-system)
     (arguments
      `(#:configure-flags
        (list "-DSYSTEM_SQLITE=ON"
+             "-DSYSTEM_CPPUNIT=ON"
              (string-append "-DFG_DATA_DIR="
                             (assoc-ref %outputs "out")
                             "/share/flightgear"))

Reply via email to