Unverified Commit 1db6b426 authored by patka's avatar patka
Browse files

ultrastardx: remove no longer used pcre dependency

pcre has been removed upstream in commit e512768dae87f4abd3d67dd4dfba3fb24e90575d in 2017. It builds fine without it and there's no mention of it during build output
parent a4b6cee9
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  pkg-config,
  lua,
  fpc,
  pcre,
  portaudio,
  freetype,
  libpng,
@@ -26,7 +25,6 @@

let
  sharedLibs = [
    pcre
    portaudio
    freetype
    SDL2
@@ -65,11 +63,6 @@ stdenv.mkDerivation rec {
    libpng
  ] ++ sharedLibs;

  postPatch = ''
    substituteInPlace src/config.inc.in \
      --subst-var-by libpcre_LIBNAME libpcre.so.1
  '';

  preBuild =
    let
      items = lib.concatMapStringsSep " " (x: "-rpath ${lib.getLib x}/lib") sharedLibs;