* [gentoo-commits] gentoo-x86 commit in www-apache/passenger/files: 2.1.2-gentoo.patch
@ 2009-03-15 14:36 Alex Legler (a3li)
0 siblings, 0 replies; only message in thread
From: Alex Legler (a3li) @ 2009-03-15 14:36 UTC (permalink / raw
To: gentoo-commits
a3li 09/03/15 14:36:08
Added: 2.1.2-gentoo.patch
Log:
Version bump
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Revision Changes Path
1.1 www-apache/passenger/files/2.1.2-gentoo.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/passenger/files/2.1.2-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/passenger/files/2.1.2-gentoo.patch?rev=1.1&content-type=text/plain
Index: 2.1.2-gentoo.patch
===================================================================
--- Rakefile.orig 2009-03-15 15:15:44.000000000 +0100
+++ Rakefile 2009-03-15 15:24:51.000000000 +0100
@@ -39,12 +39,8 @@
CXX = "g++"
LIBEXT = PlatformInfo.library_extension
# _GLIBCPP__PTHREADS is for fixing Boost compilation on OpenBSD.
-if OPTIMIZE
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -O2 -DBOOST_DISABLE_ASSERTS"
-else
- OPTIMIZATION_FLAGS = "#{PlatformInfo.debugging_cflags} -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS"
-end
-CXXFLAGS = "-Wall #{OPTIMIZATION_FLAGS}"
+OPTIMIZATION_FLAGS = "#{ENV['CXXFLAGS']} -DNDEBUG"
+CXXFLAGS = "#{OPTIMIZATION_FLAGS} -Wall"
EXTRA_LDFLAGS = ""
#### Default tasks
@@ -540,15 +536,15 @@
task :fakeroot => [:apache2, :native_support, :doc] do
require 'rbconfig'
include Config
- fakeroot = "pkg/fakeroot"
+ fakeroot = ENV['DISTDIR']
# We don't use CONFIG['archdir'] and the like because we want
# the files to be installed to /usr, and the Ruby interpreter
# on the packaging machine might be in /usr/local.
- libdir = "#{fakeroot}/usr/lib/ruby/#{CONFIG['ruby_version']}"
+ libdir = "#{fakeroot}/#{CONFIG['sitedir']}/#{CONFIG['ruby_version']}"
extdir = "#{libdir}/#{CONFIG['arch']}"
bindir = "#{fakeroot}/usr/bin"
- docdir = "#{fakeroot}/usr/share/doc/phusion_passenger"
+ docdir = "#{fakeroot}/usr/share/doc/passenger-#{PACKAGE_VERSION}"
libexecdir = "#{fakeroot}/usr/lib/phusion_passenger"
sh "rm -rf #{fakeroot}"
@@ -567,7 +563,6 @@
sh "cp bin/* #{bindir}/"
sh "mkdir -p #{libexecdir}"
- sh "cp ext/apache2/mod_passenger.so #{libexecdir}/"
sh "mv #{fakeroot}/usr/bin/passenger-spawn-server #{libexecdir}/"
sh "cp ext/apache2/ApplicationPoolServerExecutable #{libexecdir}/"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-15 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 14:36 [gentoo-commits] gentoo-x86 commit in www-apache/passenger/files: 2.1.2-gentoo.patch Alex Legler (a3li)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox