summaryrefslogtreecommitdiff
path: root/www/freenginx/files/extra-patch-passenger-build-nginx.rb
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2024-02-25 10:24:06 +0100
committerJochen Neumeister <joneum@FreeBSD.org>2024-02-25 10:26:33 +0100
commit78842f5507e0259442311b8288fb438f584aed4d (patch)
tree750e6d97e9ca254f77051be9a6fcd3f289f61408 /www/freenginx/files/extra-patch-passenger-build-nginx.rb
parentnet/nepenthes: Moved man to share/man (diff)
www/freenginx: add new port
Freenginx is a Robust ans small WWW server Sponsored by: Netzkommune GmbH
Diffstat (limited to 'www/freenginx/files/extra-patch-passenger-build-nginx.rb')
-rw-r--r--www/freenginx/files/extra-patch-passenger-build-nginx.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/www/freenginx/files/extra-patch-passenger-build-nginx.rb b/www/freenginx/files/extra-patch-passenger-build-nginx.rb
new file mode 100644
index 000000000000..8225f4f10931
--- /dev/null
+++ b/www/freenginx/files/extra-patch-passenger-build-nginx.rb
@@ -0,0 +1,33 @@
+--- ../passenger-6.0.17/build/nginx.rb.orig 2013-10-26 18:00:00.000000000 -0400
++++ ../passenger-6.0.17/build/nginx.rb 2016-05-09 18:21:22.426777000 -0400
+@@ -33,13 +33,12 @@
+ desc "Build Nginx support files"
+ task :nginx => [
+ :nginx_without_native_support,
+- NATIVE_SUPPORT_TARGET
++ LIBBOOST_OXT,
+ ].compact
+
+ desc "Build Nginx support files, including objects suitable for dynamic linking against Nginx"
+ task 'nginx:as_dynamic_module' => [
+ :nginx_dynamic_without_native_support,
+- NATIVE_SUPPORT_TARGET
+ ].compact
+
+ # Workaround for https://github.com/jimweirich/rake/issues/274
+@@ -47,7 +46,6 @@
+
+ task :nginx_without_native_support => [
+ auto_generated_sources,
+- AGENT_TARGET,
+ COMMON_LIBRARY.only(*NGINX_LIBS_SELECTOR).link_objects
+ ].flatten
+
+@@ -55,7 +53,6 @@
+ # it also creates a namespace:clean task to clean up the output_dir
+ task :nginx_dynamic_without_native_support => [
+ auto_generated_sources,
+- AGENT_TARGET,
+ define_libboost_oxt_task("nginx", NGINX_DYNAMIC_OUTPUT_DIR + "libboost_oxt", "-fPIC"),
+ COMMON_LIBRARY.only(*NGINX_LIBS_SELECTOR).
+ set_namespace("nginx").set_output_dir(NGINX_DYNAMIC_OUTPUT_DIR + "module_libpassenger_common").define_tasks("-fPIC").