ports/www/nginx/files/extra-patch-passenger-build-nginx.rb
Sergey A. Osokin a49106a8ea Update passenger and its third-party modules for www/nginx and
www/nginx-devel from 6.0.1 to 6.0.2.

Bump PORTREVISION for www/nginx and www/nginx-devel.
2019-02-28 22:32:29 +00:00

33 lines
1.3 KiB
Ruby

--- ../passenger-6.0.2/build/nginx.rb.orig 2018-05-20 08:43:19.389262000 +0200
+++ ../passenger-6.0.2/build/nginx.rb 2018-05-20 09:11:27.500253000 +0200
@@ -39,13 +39,12 @@ auto_generated_sources = %w(
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
@@ -53,7 +52,6 @@ task :_nginx => :nginx
task :nginx_without_native_support => [
auto_generated_sources,
- AGENT_TARGET,
COMMON_LIBRARY.only(*NGINX_LIBS_SELECTOR).link_objects
].flatten
@@ -61,7 +59,6 @@ task :nginx_without_native_support => [
# 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").