diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-17 17:51:45 +0100 |
commit | 420eeee727d39d869d864caddb04a80dafda7160 (patch) | |
tree | 87f15d7467082dd92fce78a6cc2f56fa8d0774af /www-apache/passenger/files | |
parent | 0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff) |
gentoo resync : 17.10.2017
Diffstat (limited to 'www-apache/passenger/files')
-rw-r--r-- | www-apache/passenger/files/passenger-5.1.11-gentoo.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apache/passenger/files/passenger-5.1.11-gentoo.patch b/www-apache/passenger/files/passenger-5.1.11-gentoo.patch new file mode 100644 index 000000000000..5a2565c0315d --- /dev/null +++ b/www-apache/passenger/files/passenger-5.1.11-gentoo.patch @@ -0,0 +1,30 @@ +--- build/packaging.rb.~1~ 2013-10-27 00:00:00.000000000 +0200 ++++ build/packaging.rb 2015-09-28 07:44:04.584236386 +0200 +@@ -575,7 +575,7 @@ + psg_ruby = ENV['RUBY'] || "#{fs_bindir}/ruby" + psg_free_ruby = ENV['FREE_RUBY'] || "/usr/bin/env ruby" + +- fakeroot = "#{PKG_DIR}/fakeroot" ++ fakeroot = ENV['DISTDIR'] + fake_rubylibdir = "#{fakeroot}#{psg_rubylibdir}" + fake_nodelibdir = "#{fakeroot}#{psg_nodelibdir}" + fake_libdir = "#{fakeroot}#{psg_libdir}" +@@ -593,7 +593,6 @@ + + packaging_method = ENV['NATIVE_PACKAGING_METHOD'] || ENV['PACKAGING_METHOD'] || "deb" + +- sh "rm -rf #{fakeroot}" + sh "mkdir -p #{fakeroot}" + + # Ruby sources +@@ -690,10 +689,6 @@ + change_shebang("#{fake_sbindir}/#{exe}", shebang) + end + +- # Apache 2 module +- sh "mkdir -p #{File.dirname(fake_apache2_module_path)}" +- sh "cp #{APACHE2_TARGET} #{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}" |