summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-11 22:15:03 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-11 22:15:03 +0900
commit5bb189641338e5066a1b8656eb5c62fb5c84932d (patch)
treeade70b842fbd70bf0b375f7b6b38fab68693bf3f /www-servers
parentwww-servers/h2o: inherit ssl-cert (diff)
downloadgentoo-5bb189641338e5066a1b8656eb5c62fb5c84932d.tar.gz
gentoo-5bb189641338e5066a1b8656eb5c62fb5c84932d.tar.bz2
gentoo-5bb189641338e5066a1b8656eb5c62fb5c84932d.zip
www-servers/h2o: fix docs installation path
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/h2o/files/h2o.conf3
-rw-r--r--www-servers/h2o/h2o-2.2.4.ebuild2
-rw-r--r--www-servers/h2o/h2o-9999.ebuild2
3 files changed, 4 insertions, 3 deletions
diff --git a/www-servers/h2o/files/h2o.conf b/www-servers/h2o/files/h2o.conf
index a135cc357351..23f2d76d51ee 100644
--- a/www-servers/h2o/files/h2o.conf
+++ b/www-servers/h2o/files/h2o.conf
@@ -15,6 +15,3 @@ hosts:
paths:
"/":
file.dir: /var/www/localhost/htdocs
- "/doc":
- file.dir: /usr/share/doc/h2o/
- file.index: [ 'index.html' ]
diff --git a/www-servers/h2o/h2o-2.2.4.ebuild b/www-servers/h2o/h2o-2.2.4.ebuild
index 47d1794fa4aa..63228398d26c 100644
--- a/www-servers/h2o/h2o-2.2.4.ebuild
+++ b/www-servers/h2o/h2o-2.2.4.ebuild
@@ -54,6 +54,8 @@ src_prepare() {
fi
sed -i \
+ -e "/INSTALL/s:\(/doc/${PN}\) :\1/html :" \
+ -e "/INSTALL/s:\(/doc\)/${PN}:\1/${PF}:" \
-e "s: ruby: ${ruby}:" \
CMakeLists.txt
diff --git a/www-servers/h2o/h2o-9999.ebuild b/www-servers/h2o/h2o-9999.ebuild
index 56f77212526f..e1d9604c4b44 100644
--- a/www-servers/h2o/h2o-9999.ebuild
+++ b/www-servers/h2o/h2o-9999.ebuild
@@ -51,6 +51,8 @@ src_prepare() {
fi
sed -i \
+ -e "/INSTALL/s:\(/doc/${PN}\) :\1/html :" \
+ -e "/INSTALL/s:\(/doc\)/${PN}:\1/${PF}:" \
-e "s: ruby: ${ruby}:" \
CMakeLists.txt