gnu: eid-mw: Fix build.
* gnu/packages/security-token.scm (eid-mw)[arguments]: Move the ‘bootstrap’ phase to after ‘unpack’. Modify it to run without errors, and call upstream's bootstrap.sh script instead of our own copy.
This commit is contained in:
parent
13151c326a
commit
080093ff6a
|
@ -121,9 +121,14 @@ readers and is needed to communicate with such devices through the
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; The github tarball doesn't contain a configure script.
|
(add-after 'unpack 'bootstrap
|
||||||
(add-before 'configure 'autoreconf
|
(lambda _
|
||||||
(lambda _ (zero? (system* "autoreconf" "-i")))))))
|
;; configure.ac relies on ‘git --describe’ to get the version.
|
||||||
|
;; Patch it to just return the real version number directly.
|
||||||
|
(substitute* "scripts/build-aux/genver.sh"
|
||||||
|
(("/bin/sh") (which "sh"))
|
||||||
|
(("\\$GITDESC") ,version))
|
||||||
|
(invoke "sh" "./bootstrap.sh"))))))
|
||||||
(synopsis "Belgian eID Middleware")
|
(synopsis "Belgian eID Middleware")
|
||||||
(description "The Belgian eID Middleware is required to authenticate with
|
(description "The Belgian eID Middleware is required to authenticate with
|
||||||
online services using the Belgian electronic identity card.")
|
online services using the Belgian electronic identity card.")
|
||||||
|
|
Loading…
Reference in New Issue