summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-12 18:11:42 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-12 18:12:24 +0900
commit0464be23ba4e16bd9fd4b08c2715593c9022a01d (patch)
tree23ec7dc9a5517c0026a35ec5131c597b5d03c1c0 /sys-devel/distcc
parentmedia-gfx/wings: Drop esdl symlink (bug #585664). (diff)
downloadgentoo-0464be23ba4e16bd9fd4b08c2715593c9022a01d.tar.gz
gentoo-0464be23ba4e16bd9fd4b08c2715593c9022a01d.tar.bz2
gentoo-0464be23ba4e16bd9fd4b08c2715593c9022a01d.zip
sys-devel/distcc: use datadir for docdir.
This automatically counts for Prefix. Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-devel/distcc')
-rw-r--r--sys-devel/distcc/distcc-3.2_rc1-r4.ebuild4
1 files 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