Sufficient to finish build on GNU/kFreeBSD seems be this: --- scripts/builder2schema.pl +++ scripts/builder2schema.pl @@ -23,8 +23,10 @@ print "\t<schema id=\"$ARGV[1]\" path=\"/org/gnome/anjuta/\">\n"; if ($#ARGV == 2) { + unless(-d $ARGV[2]){ open FILE, "<", $ARGV[2] or die $!; while (<FILE>) { print "\t\t$_"; } + } } my $parser = new XML::Parser(Style => "Stream");