summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-16 20:55:59 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-16 20:57:14 +0200
commit002a07d803aff78b42649214946e5108891594e6 (patch)
tree48a91ed3168fc6fd6d581b0924abd543f2db722e /www-apache/passenger
parentnet-dns/dnsmasq: arm stable, bug #632692 (diff)
downloadgentoo-002a07d803aff78b42649214946e5108891594e6.tar.gz
gentoo-002a07d803aff78b42649214946e5108891594e6.tar.bz2
gentoo-002a07d803aff78b42649214946e5108891594e6.zip
www-apache/passenger: Fix building with USE=-apache2, bug 626988
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'www-apache/passenger')
-rw-r--r--www-apache/passenger/passenger-5.1.11.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/www-apache/passenger/passenger-5.1.11.ebuild b/www-apache/passenger/passenger-5.1.11.ebuild
index 60b0bdbcc33d..9a80d0c6a2a0 100644
--- a/www-apache/passenger/passenger-5.1.11.ebuild
+++ b/www-apache/passenger/passenger-5.1.11.ebuild
@@ -73,6 +73,11 @@ all_ruby_prepare() {
# Fix hard-coded use of AR
sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die
+
+ # Make sure apache support is not attempted with -apache2
+ if ! use apache2 ; then
+ sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die
+ fi
}
all_ruby_compile() {