efraim pushed a commit to branch master
in repository guix.

commit d5ecfb491845aee1fb4079fc71d93ba00e4b10be
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Jan 6 10:40:27 2021 +0200

    gnu: gpsbabel: Unbundle zlib.
    
    * gnu/packages/gps.scm (gpsbabel)[source]: Adjust snippet to remove
    bundled zlib and references from the Makefile.
---
 gnu/packages/gps.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm
index fdb64f0..7ee1fc8 100644
--- a/gnu/packages/gps.scm
+++ b/gnu/packages/gps.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2020 Vincent Legoll <[email protected]>
 ;;; Copyright © 2020 Marius Bakke <[email protected]>
 ;;; Copyright © 2021 Björn Höfling <[email protected]>
+;;; Copyright © 2021 Efraim Flashner <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -67,6 +68,9 @@
               (modules '((guix build utils)))
               (snippet
                '(begin
+                  (delete-file-recursively "zlib")
+                  (substitute* "Makefile.in"
+                    ((" zlib/z.*\\.h") ""))
                   ;; Delete files under GPL-compatible licences but never used
                   ;; on GNU systems, rather than bloating the LICENSE field.
                   (delete-file "gui/serial_mac.cc")           ; Apple MIT

Reply via email to