summary refs log tree commit diff
path: root/pkgs/servers/sip/freeswitch
diff options
context:
space:
mode:
authorKranium Gikos Mendoza <kranium@gikos.net>2017-09-16 20:08:08 +1000
committerKranium Gikos Mendoza <kranium@gikos.net>2017-09-16 20:08:08 +1000
commit50edaffb0c0126e4bba2209a90c920cb75b9a378 (patch)
tree9afeaa45653b31546e802738dfb133a301cbc5fa /pkgs/servers/sip/freeswitch
parentb3edc7f8d2405d4050247e26543da682e42454c5 (diff)
downloadnixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar.gz
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar.bz2
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar.lz
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar.xz
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.tar.zst
nixpkgs-50edaffb0c0126e4bba2209a90c920cb75b9a378.zip
freeswitch: fix build
Diffstat (limited to 'pkgs/servers/sip/freeswitch')
-rw-r--r--pkgs/servers/sip/freeswitch/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix
index 97e7a9daf65..9f7e2b297ee 100644
--- a/pkgs/servers/sip/freeswitch/default.nix
+++ b/pkgs/servers/sip/freeswitch/default.nix
@@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
     url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
     sha256 = "071g7229shr9srwzspx29fcx3ccj3rwakkydpc4vdf1q3lldd2ld";
   };
-  postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
+  postPatch = ''
+    patchShebangs     libs/libvpx/build/make/rtcd.pl
+    substituteInPlace libs/libvpx/build/make/configure.sh \
+      --replace AS=\''${AS} AS=yasm
+  '';
 
   buildInputs = [
     openssl ncurses curl pkgconfig gnutls readline perl libjpeg