From 0464be23ba4e16bd9fd4b08c2715593c9022a01d Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Sun, 12 Jun 2016 18:11:42 +0900 Subject: [PATCH] sys-devel/distcc: use datadir for docdir. This automatically counts for Prefix. Package-Manager: portage-2.2.28 --- sys-devel/distcc/distcc-3.2_rc1-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild index 78f398c91eef..1b5defa50bb6 100644 --- a/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild +++ b/sys-devel/distcc/distcc-3.2_rc1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -83,7 +83,7 @@ src_prepare() { } src_configure() { - local myconf="--disable-Werror --with-docdir=/usr/share/doc/${PF}" + local myconf="--disable-Werror --with-docdir=\$(datadir)/doc/${PF}" # More legacy stuff? [ "$(gcc-major-version)" = "2" ] && filter-lfs-flags -- 2.26.2