Package: libgettext-ruby
Followup-For: Bug #470268

The attached patch fixes both the crash in the setup step with ruby 1.9
and the 'command not found' error in the config step.

Cheers,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Antonio Terceiro <[EMAIL PROTECTED]>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F


diff -Nru libgettext-ruby-1.90.0.old/debian/rules libgettext-ruby-1.90.0/debian/rules
--- libgettext-ruby-1.90.0.old/debian/rules	2008-03-19 22:17:13.000000000 -0300
+++ libgettext-ruby-1.90.0/debian/rules	2008-03-19 22:14:16.081304542 -0300
@@ -26,12 +26,12 @@
 		--prefix="$(CURDIR)/debian/$(cdbs_curpkg)/usr" \
 		--site-ruby="\$$prefix/lib/ruby/$(CUR_RUBYVER)" \
 		--site-ruby-common="\$$prefix/lib/ruby/$(CUR_RUBYVER)" \
-		--so-dir="\$$prefix/lib/ruby/$(CUR_RUBYVER)/`$(RBCONFIG) arch`"
+		--so-dir="\$$prefix/lib/ruby/$(CUR_RUBYVER)/`$(RUBY_CONFIG) arch`"
 
 
 $(patsubst %,build/%,$(DEB_ALL_PACKAGES))::
 	cd build-$(cdbs_curpkg) && \
-		ruby$(CUR_RUBYVER) $(SETUP_FILE) setup
+		ruby$(CUR_RUBYVER) -Ku $(SETUP_FILE) setup
 
 
 $(patsubst %,install/%,$(DEB_ALL_PACKAGES))::

Reply via email to