$OpenBSD: patch-build_packaging_rb,v 1.3 2014/06/24 21:43:02 jeremy Exp $
--- build/packaging.rb.orig	Thu May 29 05:13:24 2014
+++ build/packaging.rb	Thu Jun  5 10:47:23 2014
@@ -394,12 +394,12 @@ def change_shebang(filename, value)
 end
 
 desc "Create a fakeroot, useful for building native packages"
-task :fakeroot => [:apache2, :nginx, :doc] do
+task :fakeroot => [:nginx, :doc] do
 	require 'rbconfig'
 	require 'fileutils'
 	include RbConfig
 
-	fs_prefix  = ENV['FS_PREFIX']  || "/usr"
+	fs_prefix  = ENV['FS_PREFIX']  || "${LOCALBASE}"
 	fs_bindir  = ENV['FS_BINDIR']  || "#{fs_prefix}/bin"
 	fs_sbindir = ENV['FS_SBINDIR'] || "#{fs_prefix}/sbin"
 	fs_datadir = ENV['FS_DATADIR'] || "#{fs_prefix}/share"
@@ -527,10 +527,6 @@ task :fakeroot => [:apache2, :nginx, :doc] do
 		end
 	end
 	
-	# Apache 2 module
-	sh "mkdir -p #{File.dirname(fake_apache2_module_path)}"
-	sh "cp #{APACHE2_MODULE} #{fake_apache2_module_path}"
-
 	# Ruby extension sources
 	sh "mkdir -p #{fake_ruby_extension_source_dir}"
 	sh "cp -R #{PhusionPassenger.ruby_extension_source_dir}/* #{fake_ruby_extension_source_dir}"
