Merge pull request #173048 from W95Psp/ploticus-patch

ploticus: fix
main
Robert Scott 2 years ago committed by GitHub
commit db5b502275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/tools/graphics/ploticus/default.nix

@ -4,6 +4,7 @@
, zlib , zlib
, libX11 , libX11
, libpng , libpng
, libjpeg
, gd , gd
, freetype , freetype
}: }:
@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
libpng libpng
gd gd
freetype freetype
libjpeg
]; ];
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
@ -43,6 +45,7 @@ stdenv.mkDerivation rec {
preBuild = '' preBuild = ''
cd src cd src
''; '';
makeFlags = [ "CC=cc" ];
preInstall = '' preInstall = ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
@ -72,6 +75,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
homepage = "http://ploticus.sourceforge.net/"; homepage = "http://ploticus.sourceforge.net/";
platforms = with platforms; linux; platforms = with platforms; linux ++ darwin;
}; };
} }

Loading…
Cancel
Save