From: Akinori Hattori Date: Wed, 11 Jul 2018 13:15:03 +0000 (+0900) Subject: www-servers/h2o: fix docs installation path X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5bb189641338e5066a1b8656eb5c62fb5c84932d;p=gentoo.git www-servers/h2o: fix docs installation path Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- 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