summaryrefslogtreecommitdiff
path: root/www/nginx/files/extra-patch-passenger-build-nginx.rb
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2012-11-22 03:47:20 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2012-11-22 03:47:20 +0000
commit8672f52910c95f8b23573d24e3b2549eb827fa06 (patch)
tree50b1ec713f99f04596528b4ba82f1c4f0135588f /www/nginx/files/extra-patch-passenger-build-nginx.rb
parent- Use new options framework. (diff)
Use more canonical names for patches.
No functionaly changes. Don't bump PORTREVISION. Feature safe: yes
Notes
Notes: svn path=/head/; revision=307636
Diffstat (limited to 'www/nginx/files/extra-patch-passenger-build-nginx.rb')
-rw-r--r--www/nginx/files/extra-patch-passenger-build-nginx.rb34
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'