$OpenBSD: patch-src_ruby_supportlib_phusion_passenger_platform_info_apache_rb,v 1.2 2017/11/04 15:56:29 jeremy Exp $

Don't attempt to build apache support.

Index: src/ruby_supportlib/phusion_passenger/platform_info/apache.rb
--- src/ruby_supportlib/phusion_passenger/platform_info/apache.rb.orig
+++ src/ruby_supportlib/phusion_passenger/platform_info/apache.rb
@@ -47,6 +47,7 @@ module PhusionPassenger
 
     # The absolute path to the 'apxs' or 'apxs2' executable, or nil if not found.
     def self.apxs2
+      return nil
       if env_defined?("APXS2")
         if ENV['APXS2'] == 'none'
           # This is a special value indicating that we should pretend as if
@@ -80,6 +81,7 @@ module PhusionPassenger
     # The absolute path to the Apache binary (that is, 'httpd', 'httpd2', 'apache'
     # or 'apache2'), or nil if not found.
     def self.httpd(options = {})
+      return nil
       apxs2 = options.fetch(:apxs2, self.apxs2)
       if env_defined?('HTTPD')
         return ENV['HTTPD']
