diff -urNad aft.orig/aft-5.098/compile.pl aft/aft-5.098/compile.pl --- aft.orig/aft-5.098/compile.pl 2015-02-10 08:59:25.237512275 +0000 +++ aft/aft-5.098/compile.pl 2015-02-10 09:05:25.093653131 +0000 @@ -20,7 +20,7 @@ my $postfilter; my $prefilter; -$date = scalar localtime; +$date = $ENV{'BUILD_DATE'} || scalar localtime; (@ARGV == 0) && do { print (STDERR "Usage: aft-compile element_file.dat \n"); @@ -129,13 +129,13 @@ $interpolate = ($element{"interpolate"} =~ 'no') ? 0 : 1; print "\t\%pragma_postvar = (\n"; -foreach $item (keys %postvar) { +foreach $item (sort keys %postvar) { print "\t\t'$item' =>\t '$postvar{$item}',\n"; } print "\t);\n"; print "\t\%elem = (\n"; -foreach $item (keys %element) { +foreach $item (sort keys %element) { if ($element{$item} =~ /^\