gnu: rtmidi: Remove custom bootstrap phase.

* gnu/packages/audio.scm (rtmidi)[arguments]: Remove autoconf phase.
This commit is contained in:
Ricardo Wurmus 2018-11-10 23:36:05 +01:00
parent cdb4048d72
commit 7db147ec45
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2285,25 +2285,21 @@ (define-public rtmidi
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ;no "check" target `(#:tests? #f ;no "check" target
#:phases (modify-phases %standard-phases #:phases
(add-after (modify-phases %standard-phases
'unpack 'autoconf (add-before 'build 'fix-makefile
(lambda _ (invoke "autoreconf" "-vfi"))) (lambda _
(add-before (substitute* "Makefile"
'build 'fix-makefile (("/bin/ln") "ln")
(lambda _ (("RtMidi.h RtError.h") "RtMidi.h"))
(substitute* "Makefile" #t))
(("/bin/ln") "ln") (add-before 'install 'make-target-dirs
(("RtMidi.h RtError.h") "RtMidi.h")) (lambda _
#t)) (let ((out (assoc-ref %outputs "out")))
(add-before (mkdir-p (string-append out "/bin"))
'install 'make-target-dirs (mkdir (string-append out "/lib"))
(lambda _ (mkdir (string-append out "/include")))
(let ((out (assoc-ref %outputs "out"))) #t)))))
(mkdir-p (string-append out "/bin"))
(mkdir (string-append out "/lib"))
(mkdir (string-append out "/include")))
#t)))))
(inputs (inputs
`(("jack" ,jack-1) `(("jack" ,jack-1)
("alsa-lib" ,alsa-lib))) ("alsa-lib" ,alsa-lib)))