summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-10-14 23:37:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-10-14 23:45:35 +0200
commit349753743f55ec5a12817230583e2afee93e7777 (patch)
tree0f169ce992eb9737f78f5b7c4a114bfe2bce6860
parentc6e45a93d4a0ffdeaeba87e852b4204f75e318ed (diff)
downloadguix-349753743f55ec5a12817230583e2afee93e7777.tar.gz
gnu: gx-vintage-fuzz-master-lv2: Fix SSE detection.
* gnu/packages/music.scm (gx-vintage-fuzz-master-lv2)[arguments]: Add
phase "escape-shell-commands".
-rw-r--r--gnu/packages/music.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 51f391b691..9dae8e0ed5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2276,6 +2276,17 @@ adjusts the amount of harmonics."))))
                  (base32
                   "0s1ghysggx6psalyhcpgjnmf38vama6jcqgbldqmxii5c2w2ybsc"))
                 (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/GxVintageFuzzMaster.lv2")
       (synopsis "Fuzz effect simulation of the vintage Fuzz Master")
       (description "This package provides the LV2 plugin