git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29463 from womfoo/fix-build/freeswitch

freeswitch: fix build

commit7db2916648ba8184bf619fc895e8d3fe2de84db3 authorFranz Pletz <fpletz@fnordicwalking.de> dateSun 17 Sep 2017, 21:29 (9 years ago) parent036036a50edaff
1 file changed+5−1
pkgs/servers/sip/freeswitch/default.nix+5−1
pkgs/servers/sip/freeswitch/default.nix+5−1
@@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
99 url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
1010 sha256 = "071g7229shr9srwzspx29fcx3ccj3rwakkydpc4vdf1q3lldd2ld";
1111 };
12− postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
12+ postPatch = ''
13+ patchShebangs libs/libvpx/build/make/rtcd.pl
14+ substituteInPlace libs/libvpx/build/make/configure.sh \
15+ --replace AS=\''${AS} AS=yasm
16+ '';
1317
1418 buildInputs = [
1519 openssl ncurses curl pkgconfig gnutls readline perl libjpeg