mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ike: build with bison3
This commit is contained in:
parent
47ace9a42c
commit
bff748bacb
@ -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 \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user