pstoedit: fix pkgconfig file

This commit is contained in:
Benno Fünfstück
2017-06-30 16:36:51 +02:00
parent 58a231d944
commit 3ab280808c
+6
View File
@@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
libiconv ApplicationServices libiconv ApplicationServices
]); ]);
# '@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@' ""
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Translates PostScript and PDF graphics into other vector formats"; description = "Translates PostScript and PDF graphics into other vector formats";
homepage = https://sourceforge.net/projects/pstoedit/; homepage = https://sourceforge.net/projects/pstoedit/;