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
784 B
Plaintext
16 lines
784 B
Plaintext
$OpenBSD: patch-build_config_rb,v 1.3 2011/12/13 18:38:17 jeremy Exp $
|
|
--- build/config.rb.orig Thu Jan 1 01:00:00 1970
|
|
+++ build/config.rb Tue Nov 15 23:50:42 2011
|
|
@@ -26,9 +26,9 @@ CC = string_option("CC", "gcc")
|
|
CXX = string_option("CXX", "g++")
|
|
# TODO: consider -fcommon
|
|
if OPTIMIZE
|
|
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS".strip
|
|
+ OPTIMIZATION_FLAGS = "#{ENV['CFLAGS']} -DBOOST_DISABLE_ASSERTS".strip
|
|
else
|
|
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip
|
|
+ OPTIMIZATION_FLAGS = "#{ENV['CFLAGS']} #{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS".strip
|
|
end
|
|
|
|
# Extra compiler flags that should always be passed to the C/C++ compiler.
|