summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-10-14 23:35:52 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-10-14 23:45:34 +0200
commit9d54b12a4917713148ea9967e1b4bee754c158b0 (patch)
treed4fac963a6e4fb12dc910c202ba8e65a0cb4499c
parentb013c33f6f060c14ca7d1f3cfcb5d8ce3ef1c53c (diff)
downloadguix-9d54b12a4917713148ea9967e1b4bee754c158b0.tar.gz
gnu: gx-saturator-lv2: Fix SSE detection.
* gnu/packages/music.scm (gx-saturator-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 9c8de9e176..065c4b74c4 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2148,6 +2148,17 @@ pedal."))))
                  (base32
                   "13cf5gxr2wzp5954hdhbl79v98a665ll5434mb3668p4j33sv217"))
                 (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/GxSaturator.lv2")
       (synopsis "Saturation effect")
       (description "This package provides the LV2 plugin \"GxSaturator\", a