--- ./fort77.in.org 2009-01-20 15:41:19.000000000 +0900 +++ ./fort77.in 2009-01-20 17:34:59.000000000 +0900 @@ -12,7 +12,7 @@ $debug = 0; $debugcmd = ""; -$cppcmd = "/lib/cpp -traditional"; +$cppcmd = "/usr/bin/cpp -traditional"; # Loop over all options; pull all options from @ARGV and put all # arguments into @argv. This is needed because, apparently, UNIX @@ -287,7 +287,7 @@ # C compilation step. if ($cfile) { - @command = ("@CC@",@cppopts,@copts); + @command = ("@CC@","-I/opt/local/include",@cppopts,@copts); if ($compile_only && $output) { push(@command,'-o',$output,$compile_only); } @@ -323,7 +323,7 @@ push (@output, "-o", $output) if $output; -$retcode = &mysystem("@CC@", @output, @lfiles, @lopts, "-lf2c", "-lm" ); +$retcode = &mysystem("@CC@", @output, @lfiles, @lopts, "-L/opt/local/lib", "-lf2c", "-lm" ); if (@gener_lfiles) { print STDERR "$0: unlinking ",join(',',@gener_lfiles),"\n" if $verbose; unlink (@gener_lfiles); --- ./Makefile~ 2009-01-20 15:41:19.000000000 +0900 +++ ./Makefile 2009-01-20 17:37:57.000000000 +0900 @@ -14,7 +14,7 @@ autoconf test: fort77 - (cd tests; ./test.pl -v) + -(cd tests; ./test.pl -v) install: test install -m 755 fort77 $(BINDIR)