gnu: qucs: Patch bootstrapping scripts.

* gnu/packages/engineering.scm (qucs)[arguments]<#:phases>[patch-bootstrap]:
New phase.
This commit is contained in:
Danny Milosavljevic 2018-06-07 21:38:37 +02:00
parent 394b89ae04
commit 5e88194661
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -1531,6 +1531,14 @@ (define-public qucs
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'patch-bootstrap
(lambda _
(for-each patch-shebang
'("bootstrap"
"qucs/bootstrap"
"qucs-doc/bootstrap"
"qucs-core/bootstrap"))
#t))
(add-before 'configure 'patch-configure
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "qucs/configure"