commit:     c7fac4a987fe4cdadb9e93412e2a6083913ba4a8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 09:10:34 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Aug 22 12:02:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fac4a9

sys-fs/inotify-tools: Handle --docdir correctly on Prefix (bug #591676).

Bumped EAPI to 6.

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-fs/inotify-tools/inotify-tools-3.14.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sys-fs/inotify-tools/inotify-tools-3.14.ebuild 
b/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
index b46ff19..8439209 100644
--- a/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
+++ b/sys-fs/inotify-tools/inotify-tools-3.14.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 DESCRIPTION="a set of command-line programs providing a simple interface to 
inotify"
 HOMEPAGE="https://github.com/rvoicilas/inotify-tools/wiki";
-SRC_URI="https://github.com/downloads/rvoicilas/${PN}/${P}.tar.gz";
+SRC_URI="mirror://github/rvoicilas/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -17,6 +17,7 @@ DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND=""
 
 src_prepare() {
+       default
        # timestamps are busted in tarball
        find . -type f -exec touch -r configure {} +
 }
@@ -24,7 +25,7 @@ src_prepare() {
 src_configure() {
        # only docs installed are doxygen ones, so use /html
        econf \
-               --docdir=/usr/share/doc/${PF}/html \
+               --docdir='$(datarootdir)'/doc/${PF}/html \
                $(use_enable doc doxygen)
 }
 

Reply via email to