From: Benda Xu Date: Sun, 12 Jun 2016 09:11:42 +0000 (+0900) Subject: sys-devel/distcc: use datadir for docdir. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0464be23ba4e16bd9fd4b08c2715593c9022a01d;p=gentoo.git sys-devel/distcc: use datadir for docdir. This automatically counts for Prefix. Package-Manager: portage-2.2.28 --- 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