summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {