gnu: gpsbabel: Unbundle zlib.

* gnu/packages/gps.scm (gpsbabel)[source]: Adjust snippet to remove
bundled zlib and references from the Makefile.
This commit is contained in:
Efraim Flashner 2021-01-06 10:40:27 +02:00
parent f024a7ba60
commit d5ecfb4918
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -7,6 +7,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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