projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7882c0
)
www-apache/passenger: Fix building with USE=-apache2, bug 626988
author
Hans de Graaff
<graaff@gentoo.org>
Mon, 16 Oct 2017 18:55:59 +0000
(20:55 +0200)
committer
Hans de Graaff
<graaff@gentoo.org>
Mon, 16 Oct 2017 18:57:14 +0000
(20:57 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3
www-apache/passenger/passenger-5.1.11.ebuild
patch
|
blob
|
history
diff --git
a/www-apache/passenger/passenger-5.1.11.ebuild
b/www-apache/passenger/passenger-5.1.11.ebuild
index 60b0bdbcc33dcc38d6dab356d1a15059046838eb..9a80d0c6a2a0874886a9afdbea5b547a228dff19 100644
(file)
--- 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() {