patch-src_tkgate_verilog_out_c 464 B

12345678910111213
  1. $OpenBSD: patch-src_tkgate_verilog_out_c,v 1.1.1.1 2015/04/07 14:00:07 kirby Exp $
  2. --- src/tkgate/verilog_out.c.orig Wed Nov 9 13:55:14 2011
  3. +++ src/tkgate/verilog_out.c Wed Nov 9 13:57:51 2011
  4. @@ -892,7 +892,7 @@ static int check_file(const char *name)
  5. system(cmd);
  6. #endif
  7. - sprintf(cmd,"%s/libexec/tkgate",TkGate.homedir);
  8. + sprintf(cmd,"%${PREFIX}/bin/tkgate",TkGate.homedir);
  9. if (!(pid = fork())) {
  10. execl(cmd,cmd,"-Vq",name,0);
  11. exit(1);