b43ac205b0
splitting into a multipackage, with a subpackage for the standalone version (which embeds a version of nginx). The standalone version operates much like other ruby webservers, serving a single ruby/rack application. Switch to using the gem version of passenger. Because the gem installs into a versioned directory, setup symlinks to the versioned directory so that nginx configuration files don't need to be modified when the version is updated.
16 lines
413 B
Plaintext
16 lines
413 B
Plaintext
$OpenBSD: patch-ext_ruby_extconf_rb,v 1.1 2011/12/13 18:38:18 jeremy Exp $
|
|
|
|
Allowing building passenger_native_support ruby extension with
|
|
ruby 1.9.
|
|
|
|
--- ext/ruby/extconf.rb.orig Thu Nov 17 00:05:15 2011
|
|
+++ ext/ruby/extconf.rb Thu Nov 17 00:06:10 2011
|
|
@@ -22,6 +22,7 @@
|
|
# THE SOFTWARE.
|
|
require 'mkmf'
|
|
$LIBS = ""
|
|
+$LIBS << '-pthread' if RUBY_VERSION > '1.9'
|
|
$CFLAGS << " -g"
|
|
|
|
if RUBY_PLATFORM =~ /solaris/
|