diff options
author | Luka Blaskovic <lblasc@tvbeat.com> | 2020-01-06 11:09:19 +0000 |
---|---|---|
committer | Luka Blaskovic <lblasc@tvbeat.com> | 2020-01-13 21:35:19 +0000 |
commit | bff748bacb6284c382cf62ebf23481851b4dec5e (patch) | |
tree | e2ebf4b6c47cde3634e5e32beff872237ba37ac4 /pkgs/applications | |
parent | 47ace9a42cdf45fd548e2f3652ff6cc36ce741e0 (diff) | |
download | nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar.gz nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar.bz2 nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar.lz nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar.xz nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.tar.zst nixlib-bff748bacb6284c382cf62ebf23481851b4dec5e.zip |
ike: build with bison3
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/ike/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/ike/default.nix b/pkgs/applications/networking/ike/default.nix index 3baa1352a809..0b0491ffb861 100644 --- a/pkgs/applications/networking/ike/default.nix +++ b/pkgs/applications/networking/ike/default.nix @@ -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 \ |