Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331287
Collapse All | Expand All

(-)passenger-2.2.15.ebuild (-4 / +8 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.2.15.ebuild,v 1.1 2010/06/30 18:32:41 graaff Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-apache/passenger/passenger-2.2.15.ebuild,v 1.1 2010/06/30 18:32:41 graaff Exp $
4
4
5
inherit apache-module flag-o-matic ruby
5
EAPI=2
6
7
inherit apache-module flag-o-matic ruby toolchain-funcs
6
8
7
DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze"
9
DESCRIPTION="Passenger (a.k.a. mod_rails) makes deployment of Ruby on Rails applications a breeze"
8
HOMEPAGE="http://modrails.com/"
10
HOMEPAGE="http://modrails.com/"
Lines 30-40 Link Here
30
	use debug && append-flags -DPASSENGER_DEBUG
32
	use debug && append-flags -DPASSENGER_DEBUG
31
}
33
}
32
34
33
src_unpack() {
35
src_prepare() {
34
	unpack ${A}
35
	cd "${S}"
36
	epatch "${FILESDIR}"/2.2.4-gentoo.patch
36
	epatch "${FILESDIR}"/2.2.4-gentoo.patch
37
	rm -f bin/passenger-install-apache2-module
37
	rm -f bin/passenger-install-apache2-module
38
	# respect CC, CXX and LDFLAGS
39
	sed -i "s/CC  = \"gcc\"/CC  = \"$(tc-getCC)\"/" Rakefile
40
	sed -i "s/CXX = \"g++\"/CXX = \"$(tc-getCXX)\"/" Rakefile
41
	sed -i "s/EXTRA_LDFLAGS  = \"\"/EXTRA_LDFLAGS  = \"${LDFLAGS}\"/" Rakefile
38
}
42
}
39
43
40
src_compile() {
44
src_compile() {

Return to bug 331287