summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files/extra-patch-passenger::build::nginx.rb
blob: 86a85e3c89e839464c41a663da5a4881f1315fc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- ../passenger-3.0.12/build/nginx.rb.orig	2010-12-07 13:57:32.000000000 +0300
+++ ../passenger-3.0.12/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'