1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
--- ruby-gnome2-1.1.3.orig/exec_make.rb
+++ ruby-gnome2-1.1.3/exec_make.rb
@@ -29,7 +29,8 @@ SUBDIRS.each do |subdir|
if ret
success << subdir
else
- failure << subdir
+ puts "Building of #{subdir} failed."
+ exit(1)
end
end
--- ruby-gnome2-1.1.3.orig/extconf.rb
+++ ruby-gnome2-1.1.3/extconf.rb
@@ -75,6 +75,10 @@ subdirs.each do |subdir|
if ret
targets << subdir
else
+ if $strict
+ exit(1)
+ end
+
ignore << subdir
end
end
@@ -114,6 +118,7 @@ def run_make_in_sub_dirs(command)
echo "FAILED: $$failed"; \\
echo "-----"; \\
echo "Done."; \\
+ test "$$failed" = "NONE"; \\
)
EOS
end
|