This patch contains all the Debian-specific changes mixed together. To review
them separately, please inspect the VCS history at
http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-gnome2.git;a=summary
--- ruby-gnome2-1.0.3.orig/extconf.rb
+++ ruby-gnome2-1.0.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
--- ruby-gnome2-1.0.3.orig/exec_make.rb
+++ ruby-gnome2-1.0.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
 
