From b9ac372c557414215b416764ddc28c5bad255c35 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Oct 2016 23:36:52 +0200 Subject: [PATCH] gnu: gx-hyperion-lv2: Fix SSE detection. * gnu/packages/music.scm (gx-hyperion-lv2)[arguments]: Add phase "escape-shell-commands". --- gnu/packages/music.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 065c4b74c4..72006ff905 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2179,6 +2179,17 @@ (define-public gx-hyperion-lv2 (base32 "12klcyc6l9v93ii3478mqz44jzvh5np1sk8zzdmz42jp0w8qd429")) (file-name (string-append name "-" version "-checkout")))) + (arguments + (substitute-keyword-arguments (package-arguments gx-guvnor-lv2) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'escape-shell-commands + (lambda _ + (substitute* "Makefile" + (("cat ") "$(shell cat ") + (("/dev/null") "/dev/null)") + (("SSE_CFLAGS = \"\"") "SSE_CFLAGS =")) + #t)))))) (home-page "https://github.com/brummer10/GxHyperion.lv2") (synopsis "Simulation of the Hyperion Fuzz pedal") (description "This package provides the LV2 plugin \"GxHyperion\", a