[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: hamlib: Rebuild broken configure script.
From: |
guix-commits |
Subject: |
02/04: gnu: hamlib: Rebuild broken configure script. |
Date: |
Sun, 30 Oct 2022 18:11:48 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit fad1165fdbcd5be96fa02803e2606648d707f94f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 23 02:00:00 2022 +0200
gnu: hamlib: Rebuild broken configure script.
* gnu/packages/radio.scm (hamlib)[native-inputs]: Add autoconf, automake,
and libtool.
[arguments]: Add a new 'force-bootstrap phase.
---
gnu/packages/radio.scm | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index e1774169ec..4e50ef8ff4 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -1226,7 +1226,10 @@ you must extend 'udev-service-type' with this package.
E.g.:
(base32 "11r4i8gmxnb6ixpk4ns38c9xwj3qibp2v3pkhy2z0lhz0xxi1w4b"))))
(build-system gnu-build-system)
(native-inputs
- (list doxygen
+ (list autoconf
+ automake
+ doxygen
+ libtool
lua
pkg-config
python-wrapper
@@ -1235,11 +1238,19 @@ you must extend 'udev-service-type' with this package.
E.g.:
(inputs
(list gd libusb libxml2 readline))
(arguments
- `(#:configure-flags '("--disable-static"
- "--with-lua-binding"
- "--with-python-binding"
- "--with-tcl-binding"
- "--with-xml-support")))
+ `(#:configure-flags
+ '("--disable-static"
+ "--with-lua-binding"
+ "--with-python-binding"
+ "--with-tcl-binding"
+ "--with-xml-support")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'bootstrap 'force-bootstrap
+ ;; The included configure script is misbuilt. It will never find
+ ;; pkg-config, and hence any libraries that rely on it. Rebuild it.
+ (lambda _
+ (delete-file "configure"))))))
(synopsis "Tools and API to control radios")
(description
"The Ham Radio Control Library (Hamlib) is a project to provide programs