ike: build with bison3

This commit is contained in:
Luka Blaskovic 2020-01-06 11:09:19 +00:00
parent 47ace9a42c
commit bff748bacb
2 changed files with 6 additions and 1 deletions

View File

@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake flex bison makeWrapper ];
buildInputs = [ openssl libedit qt4 nettools iproute ];
postPatch = ''
# fix build with bison3
sed -i 's/define "parser_class_name"/define parser_class_name/' source/iked/conf.parse.yy
'';
configurePhase = ''
mkdir -p $out/{bin,sbin,lib}
cmake -DQTGUI=YES -DETCDIR=$out/etc -DLIBDIR=$out/lib -DSBINDIR=$out/sbin -DBINDIR=$out/bin \

View File

@ -19556,7 +19556,7 @@ in
stdenv = gccStdenv;
};
ike = callPackage ../applications/networking/ike { bison = bison2; };
ike = callPackage ../applications/networking/ike { };
ikiwiki = callPackage ../applications/misc/ikiwiki {
inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) PerlMagick;