summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2017-09-17 21:29:58 +0200
committerGitHub <noreply@github.com>2017-09-17 21:29:58 +0200
commit7db2916648ba8184bf619fc895e8d3fe2de84db3 (patch)
tree361207e256a81b1c81f9d00d0ffb5f912e41efd2 /pkgs
parent036036a456a1585699f545de45ab6dc04dd5bdfe (diff)
parent50edaffb0c0126e4bba2209a90c920cb75b9a378 (diff)
downloadnixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar.gz
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar.bz2
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar.lz
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar.xz
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.tar.zst
nixpkgs-7db2916648ba8184bf619fc895e8d3fe2de84db3.zip
Merge pull request #29463 from womfoo/fix-build/freeswitch
freeswitch: fix build
Diffstat (limited to 'pkgs')
-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