File tree 1 file changed +7
-1
lines changed
pkgs/tools/graphics/pstoedit
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,17 @@ stdenv.mkDerivation rec {
13
13
14
14
outputs = [ "out" "dev" ] ;
15
15
nativeBuildInputs = [ pkgconfig ] ;
16
- buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
16
+ buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
17
17
++ lib . optionals stdenv . isDarwin ( with darwin . apple_sdk . frameworks ; [
18
18
libiconv ApplicationServices
19
19
] ) ;
20
20
21
+ # '@LIBPNG_LDFLAGS@' is no longer substituted by autoconf (the code is commented out)
22
+ # so we need to remove it from the pkg-config file as well
23
+ preConfigure = ''
24
+ substituteInPlace config/pstoedit.pc.in --replace '@LIBPNG_LDFLAGS@' ""
25
+ '' ;
26
+
21
27
meta = with stdenv . lib ; {
22
28
description = "Translates PostScript and PDF graphics into other vector formats" ;
23
29
homepage = https://sourceforge.net/projects/pstoedit/ ;
You can’t perform that action at this time.
0 commit comments