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/networking/ike | |
parent | 47ace9a42cdf45fd548e2f3652ff6cc36ce741e0 (diff) |
ike: build with bison3
Diffstat (limited to 'pkgs/applications/networking/ike')
-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 3baa1352a809d..0b0491ffb8617 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 \ |