[Pkg-ruby-extras-maintainers] r616 - tools/ruby-pkg-tools/trunk/1/class

Esteban Manchado Velázquez zoso at costa.debian.org
Sun Jun 11 15:23:34 UTC 2006


Author: zoso
Date: 2006-06-11 15:23:32 +0000 (Sun, 11 Jun 2006)
New Revision: 616

Modified:
   tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk
Log:
- Fix DEB_RUBY_LIBDIR hardcodedness
- Drop 1.6 from DEB_RUBY_VERSIONS


Modified: tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk
===================================================================
--- tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk	2006-06-11 15:21:44 UTC (rev 615)
+++ tools/ruby-pkg-tools/trunk/1/class/ruby-common.mk	2006-06-11 15:23:32 UTC (rev 616)
@@ -36,8 +36,8 @@
 
 DEB_RUBY_COMPILE_VERSION = 
 
-DEB_RUBY_VERSIONS = 1.6 1.8 1.9
-DEB_RUBY_LIBDIR=/usr/lib/ruby # FIXME: hardcoded!
+DEB_RUBY_VERSIONS = 1.8 1.9
+DEB_RUBY_LIBDIR=$(shell ruby -rrbconfig -e 'puts Config::CONFIG["libdir"]')/ruby
 
 # Separate lib packages from the rest
 LIB_PACKAGE_FILTER = %-ruby $(patsubst %,\%-ruby%,$(DEB_RUBY_VERSIONS))




More information about the pkg-ruby-extras-maintainers mailing list