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 @@ parallel computing platforms. It also supports serial execution.")
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-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 (add-before 'configure 'patch-configure
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "qucs/configure" (substitute* "qucs/configure"