openjdk: fix build with multiple outputs
It seems freetype can't be found by that flag anymore, after it has been split, but pkgconfig is a better option anyway (tested it finds it).
This commit is contained in:
parent
a3c07f5e9e
commit
1a5d465395
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cpio, file, which, unzip, zip, xorg, cups, freetype
|
{ stdenv, fetchurl, cpio, pkgconfig, file, which, unzip, zip, xorg, cups, freetype
|
||||||
, alsaLib, bootjdk, cacert, perl, liberation_ttf, fontconfig, zlib
|
, alsaLib, bootjdk, cacert, perl, liberation_ttf, fontconfig, zlib
|
||||||
, setJavaClassPath
|
, setJavaClassPath
|
||||||
, minimal ? false
|
, minimal ? false
|
||||||
@ -62,6 +62,7 @@ let
|
|||||||
|
|
||||||
outputs = [ "out" "jre" ];
|
outputs = [ "out" "jre" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cpio file which unzip zip
|
cpio file which unzip zip
|
||||||
xorg.libX11 xorg.libXt xorg.libXext xorg.libXrender xorg.libXtst
|
xorg.libX11 xorg.libXt xorg.libXext xorg.libXrender xorg.libXtst
|
||||||
@ -89,7 +90,6 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-freetype=${freetype}"
|
|
||||||
"--with-boot-jdk=${bootjdk.home}"
|
"--with-boot-jdk=${bootjdk.home}"
|
||||||
"--with-update-version=${update}"
|
"--with-update-version=${update}"
|
||||||
"--with-build-number=${build}"
|
"--with-build-number=${build}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user