mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
50e4e30ea0
1) www/rubygem-passenger; 2) passenger support for www/nginx and www/nginx-devel; update passenger's version for patches. 3) for speed-up rails applications build passenger without debugging information by default. Otherwise WITH_DEBUG required. Approved by: maintainer [1,3]
35 lines
1.0 KiB
Ruby
35 lines
1.0 KiB
Ruby
--- ../passenger-3.0.7/build/nginx.rb.orig 2010-12-07 13:57:32.000000000 +0300
|
|
+++ ../passenger-3.0.7/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'
|