diff options
Diffstat (limited to 'www/nginx/files/extra-patch-passenger-build-nginx.rb')
-rw-r--r-- | www/nginx/files/extra-patch-passenger-build-nginx.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-passenger-build-nginx.rb b/www/nginx/files/extra-patch-passenger-build-nginx.rb new file mode 100644 index 000000000000..b1372e156e24 --- /dev/null +++ b/www/nginx/files/extra-patch-passenger-build-nginx.rb @@ -0,0 +1,34 @@ +--- ../passenger-3.0.17/build/nginx.rb.orig 2010-12-07 13:57:32.000000000 +0300 ++++ ../passenger-3.0.17/build/nginx.rb 2010-12-07 13:58:13.000000000 +0300 +@@ -23,10 +23,7 @@ + + desc "Build Nginx helper agent" + task :nginx => [ +- AGENT_OUTPUT_DIR + 'nginx/PassengerHelperAgent', +- AGENT_OUTPUT_DIR + 'PassengerWatchdog', +- AGENT_OUTPUT_DIR + 'PassengerLoggingAgent', +- :native_support ++ AGENT_OUTPUT_DIR + 'nginx/PassengerHelperAgent' + ] + + dependencies = [ +@@ -51,18 +48,7 @@ + LIBCOMMON, + ] + file AGENT_OUTPUT_DIR + 'nginx/PassengerHelperAgent' => dependencies do +- output_dir = "#{AGENT_OUTPUT_DIR}nginx" +- sh "mkdir -p #{output_dir}" if !File.directory?(output_dir) +- create_executable "#{output_dir}/PassengerHelperAgent", +- 'ext/nginx/HelperAgent.cpp', +- "-Iext -Iext/common " << +- "#{PlatformInfo.portability_cflags} " << +- "#{EXTRA_CXXFLAGS} " << +- "#{LIBCOMMON} " << +- "#{LIBBOOST_OXT} " << +- "#{PlatformInfo.portability_ldflags} " << +- "#{AGENT_LDFLAGS} " << +- "#{EXTRA_LDFLAGS}" ++ true + end + + task :clean => 'nginx:clean' |