1 |
graaff 09/06/19 06:29:34 |
2 |
|
3 |
Added: 2.2.3-gentoo.patch |
4 |
Log: |
5 |
Version bump. |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 www-apache/passenger/files/2.2.3-gentoo.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/passenger/files/2.2.3-gentoo.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/passenger/files/2.2.3-gentoo.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 2.2.3-gentoo.patch |
15 |
=================================================================== |
16 |
--- Rakefile.~1~ 2009-05-19 11:48:28.236986307 +0200 |
17 |
+++ Rakefile 2009-05-19 11:50:53.000000000 +0200 |
18 |
@@ -38,11 +38,7 @@ |
19 |
|
20 |
CXX = "g++" |
21 |
LIBEXT = PlatformInfo.library_extension |
22 |
-if OPTIMIZE |
23 |
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS" |
24 |
-else |
25 |
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS" |
26 |
-end |
27 |
+OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} -DNDEBUG" |
28 |
|
29 |
# Extra compiler flags that should always be passed to the C/C++ compiler. |
30 |
# Should be included last in the command string. |
31 |
@@ -733,15 +729,15 @@ |
32 |
task :fakeroot => [:apache2, :native_support, :doc] do |
33 |
require 'rbconfig' |
34 |
include Config |
35 |
- fakeroot = "pkg/fakeroot" |
36 |
+ fakeroot = ENV['DISTDIR'] |
37 |
|
38 |
# We don't use CONFIG['archdir'] and the like because we want |
39 |
# the files to be installed to /usr, and the Ruby interpreter |
40 |
# on the packaging machine might be in /usr/local. |
41 |
- libdir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}" |
42 |
+ libdir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}" |
43 |
extdir = "#{libdir}/#{CONFIG['arch']}" |
44 |
bindir = "#{fakeroot}/usr/bin" |
45 |
- docdir = "#{fakeroot}/usr/share/doc/phusion_passenger" |
46 |
+ docdir = "#{fakeroot}/usr/share/doc/passenger-#{PACKAGE_VERSION}" |
47 |
libexecdir = "#{fakeroot}/usr/lib/phusion_passenger" |
48 |
|
49 |
sh "rm -rf #{fakeroot}" |
50 |
@@ -757,7 +753,6 @@ |
51 |
sh "cp bin/* #{bindir}/" |
52 |
|
53 |
sh "mkdir -p #{libexecdir}" |
54 |
- sh "cp ext/apache2/mod_passenger.so #{libexecdir}/" |
55 |
sh "mv #{fakeroot}/usr/bin/passenger-spawn-server #{libexecdir}/" |
56 |
sh "cp ext/apache2/ApplicationPoolServerExecutable #{libexecdir}/" |