mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
treewide: Make explicit that 'dev' output of libpng is used
This commit is contained in:
parent
603dcd6263
commit
309b2644ac
@ -134,7 +134,7 @@ let
|
||||
configureFlags = [
|
||||
"--with-gd"
|
||||
"--with-freetype-dir=${freetype.dev}"
|
||||
"--with-png-dir=${libpng}"
|
||||
"--with-png-dir=${libpng.dev}"
|
||||
"--with-jpeg-dir=${libjpeg.dev}"
|
||||
];
|
||||
buildInputs = [ libpng libjpeg freetype ];
|
||||
|
@ -31,7 +31,7 @@ composableDerivation.composableDerivation {} (fixed: rec {
|
||||
configureFlags = [
|
||||
"--with-jpeg=${libjpeg.dev}"
|
||||
"--with-libtiff=${libtiff}" # optional (without largetiff support)
|
||||
"--with-libpng=${libpng}" # optional
|
||||
"--with-libpng=${libpng.dev}" # optional
|
||||
"--with-libz=${zlib}" # optional
|
||||
|
||||
"--with-pg=${postgresql}/bin/pg_config"
|
||||
|
@ -26,7 +26,7 @@ composableDerivation.composableDerivation {} (fixed: rec {
|
||||
configureFlags = [
|
||||
"--with-jpeg=${libjpeg.dev}"
|
||||
"--with-libtiff=${libtiff}" # optional (without largetiff support)
|
||||
"--with-libpng=${libpng}" # optional
|
||||
"--with-libpng=${libpng.dev}" # optional
|
||||
"--with-libz=${zlib}" # optional
|
||||
|
||||
"--with-pg=${postgresql}/bin/pg_config"
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
|
||||
sed -i -e "s|-ltermcap|-lncurses|" ./configure
|
||||
'';
|
||||
configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";
|
||||
configureFlags = "--with-png=${libpng.dev} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";
|
||||
buildInputs = [ pcre libpng zlib readline ];
|
||||
propagatedBuildInputs = [ ncurses ];
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [pkgconfig xlibsWrapper libpng libjpeg expat libXaw yacc libtool fontconfig pango gd];
|
||||
|
||||
configureFlags =
|
||||
[ "--with-pngincludedir=${libpng}/include"
|
||||
[ "--with-pngincludedir=${libpng.dev}/include"
|
||||
"--with-pnglibdir=${libpng.out}/lib"
|
||||
"--with-jpegincludedir=${libjpeg.dev}/include"
|
||||
"--with-jpeglibdir=${libjpeg.out}/lib"
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
CPPFLAGS = stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") "-I${cairo.dev}/include/cairo";
|
||||
|
||||
configureFlags =
|
||||
[ "--with-pngincludedir=${libpng}/include"
|
||||
[ "--with-pngincludedir=${libpng.dev}/include"
|
||||
"--with-pnglibdir=${libpng.out}/lib"
|
||||
"--with-jpegincludedir=${libjpeg.dev}/include"
|
||||
"--with-jpeglibdir=${libjpeg.out}/lib"
|
||||
|
Loading…
Reference in New Issue
Block a user