f72683d502
major fixes to the pkgsrc package: * Libraries can now be enable/disabled properly. * Using a proper Java buildlink. * Fixed dependencies for the Java and Perl library builds. * Passing the Python prefix now for proper installation. * Patched the Ruby library to support DESTDIR and prefer the vendor dir. * Explicitly install the C# library, as the Makefile won't do it. Changelog for 0.6.1: * .keystore and .truststore are missing from the 0.6.0 distribution * C# JSON Protocol is unable to decode escaped characters in string * Maven Deploy * Deploy fb303 along side libthrift to maven repo * Java and JavaScript tutorial is broken since we have Java maven deployment
18 lines
704 B
Ruby
18 lines
704 B
Ruby
$NetBSD: patch-lib__rb__setup.rb,v 1.1 2011/06/03 13:39:45 fhajny Exp $
|
|
|
|
pkgsrc prefers vendor Ruby dirs.
|
|
--- lib/rb/setup.rb.orig 2011-01-31 01:13:14.000000000 +0000
|
|
+++ lib/rb/setup.rb
|
|
@@ -165,9 +165,9 @@ class ConfigTable
|
|
libruby = "#{c['prefix']}/lib/ruby"
|
|
librubyver = c['rubylibdir']
|
|
librubyverarch = c['archdir']
|
|
- siteruby = c['sitedir']
|
|
- siterubyver = c['sitelibdir']
|
|
- siterubyverarch = c['sitearchdir']
|
|
+ siteruby = c['vendordir']
|
|
+ siterubyver = c['vendorlibdir']
|
|
+ siterubyverarch = c['vendorarchdir']
|
|
elsif newpath_p
|
|
# 1.4.4 <= V <= 1.6.3
|
|
libruby = "#{c['prefix']}/lib/ruby"
|