anchor.diff:      polarssl libsoup udev ortp mediastreamer sqlite belle-sip libosip libexosip
     ];
   
  -  nativeBuildInputs = [ intltool pkgconfig ];
  +  nativeBuildInputs = [ intltool pkgconfig makeWrapper ];
   
     configureFlags = [
       "--enable-ldap"
  
positive.code: { stdenv, fetchurl, intltool, pkgconfig, readline, openldap, cyrus_sasl, libupnp
  , zlib, libxml2, gtk2, libnotify, speex, ffmpeg, libX11, polarssl, libsoup, udev
  , ortp, mediastreamer, sqlite, belle-sip, libosip, libexosip
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:     "--enable-external-mediastreamer"
    ];
  
    postInstall = ''
      for i in $(cd $out/bin && ls); do
        wrapProgram $out/bin/$i --set MEDIASTREAMER_PLUGINS_DIR ${mediastreamer-openh264}/lib/mediastreamer/plugins
      done
    '';
  
    meta = with stdenv.lib; {
      homepage = http://www.linphone.org/;
      description = "Open Source video SIP softphone";
  