pstoedit: remove LIBPNG_LDFLAGS substitution

this is no longer present in config/pstoedit.pc.in
This commit is contained in:
Robert Scott
2025-05-09 23:06:56 +01:00
parent 4c14d1c597
commit e36885f3c7
-6
View File
@@ -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 ]}