Description: Don't overwrite CFLAGS|LDFLAGS
 It seems that the current extconf.rb overwrites the CFLAGS/LDFLAGS.

Author: Cédric Boutillier <boutil@debian.org>
Author: David Suárez <david.sephirot@gmail.com>
Last-Update: 2013-10-26

--- ruby-shadow-2.2.0.orig/extconf.rb
+++ ruby-shadow-2.2.0/extconf.rb
@@ -6,16 +6,16 @@
 
 require 'mkmf'
 
-$CFLAGS = case RUBY_VERSION
-          when /^1\.9/; '-DRUBY19'
-          when /^2\./; '-DRUBY19'
+$CFLAGS += case RUBY_VERSION
+          when /^1\.9/; ' -DRUBY19'
+          when /^2\./; ' -DRUBY19'
           else; ''
           end
 
 #$LDFLAGS = "-lshadow"
 
 if( ! (ok = have_library("shadow","getspent")) )
-  $LDFLAGS = ""
+  #$LDFLAGS = ""
   ok = have_func("getspent")
 end
 
