openbsd-ports/www/ruby-passenger/patches/patch-ext_ruby_extconf_rb
jeremy b43ac205b0 Update to 3.0.11. Support by the standalone version of passenger by
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.
2011-12-13 18:38:17 +00:00

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/