Commit e36885f3 authored by Robert Scott's avatar Robert Scott
Browse files

pstoedit: remove LIBPNG_LDFLAGS substitution

this is no longer present in config/pstoedit.pc.in
parent 4c14d1c5
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -50,12 +50,6 @@ stdenv.mkDerivation rec {
      libiconv
    ];

  # '@LIBPNG_LDFLAGS@' is no longer substituted by autoconf (the code is commented out)
  # so we need to remove it from the pkg-config file as well
  preConfigure = ''
    substituteInPlace config/pstoedit.pc.in --replace '@LIBPNG_LDFLAGS@' ""
  '';

  postInstall = ''
    wrapProgram $out/bin/pstoedit \
      --prefix PATH : ${lib.makeBinPath [ ghostscript ]}