ports/devel/csmith/patches/patch-scripts_compiler_test_pl

11 lines
547 B
Text

--- scripts/compiler_test.pl.orig Wed Dec 31 16:46:24 2014
+++ scripts/compiler_test.pl Thu Jan 22 01:32:39 2015
@@ -237,7 +237,7 @@ sub test_one ($) {
# run Csmith until generate a big enough program
while (1) {
unlink $cfile;
- my $cmd = "$CSMITH_HOME/src/csmith $CSMITH_USER_OPTIONS --output $cfile";
+ my $cmd = "${PREFIX}/bin/csmith $CSMITH_USER_OPTIONS --output $cfile";
my ($res, $exitcode) = runit($cmd, $CSMITH_TIMEOUT, "csmith.out");
# print "after run csmith: $res, $exitcode\n";