sys-devel/distcc: use datadir for docdir.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 12 Jun 2016 09:11:42 +0000 (18:11 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sun, 12 Jun 2016 09:12:24 +0000 (18:12 +0900)
  This automatically counts for Prefix.

Package-Manager: portage-2.2.28

sys-devel/distcc/distcc-3.2_rc1-r4.ebuild

index 78f398c91eef0bf103f1c05efd13cd69524f43d3..1b5defa50bb62df46d1ab2a63affeb0104ada252 100644 (file)
@@ -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