Merge pull request #337275 from RCoeurjoly/update-baresip

baresip: substitute --replace with --replace-fail
This commit is contained in:
7c6f434c 2024-08-26 05:41:13 +00:00 committed by GitHub
commit 652039adb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
hash = "sha256-0huZP1hopHaN5R1Hki6YutpvoASfIHzHMl/Y4czHHMo=";
};
prePatch = ''
substituteInPlace cmake/FindGTK3.cmake --replace GTK3_CFLAGS_OTHER ""
substituteInPlace cmake/FindGTK3.cmake --replace-fail GTK3_CFLAGS_OTHER ""
'' + lib.optionalString (!dbusSupport) ''
substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' ""
substituteInPlace cmake/modules.cmake --replace-fail 'list(APPEND MODULES ctrl_dbus)' ""
'';
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [