23991c3eced52e34ede780d836bc45608855644e
[packages.git] / net / quagga / patches / 130-fix_cpp.patch
1 --- a/vtysh/extract.pl.in
2 +++ b/vtysh/extract.pl.in
3 @@ -63,7 +63,7 @@ $ignore{'"show history"'} = "ignore";
4  foreach (@ARGV) {
5      $file = $_;
6  
7 -    open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
8 +    open (FH, "@CPP@ -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
9      local $/; undef $/;
10      $line = <FH>;
11      close (FH);