sys-devel/prelink: fix USE=doc failure, bug #578948
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Jan 2019 22:28:39 +0000 (22:28 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Jan 2019 22:28:52 +0000 (22:28 +0000)
Fix by Alexander Miller.

Reported-by: Alexander Miller
Closes: https://bugs.gentoo.org/578948
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/prelink/prelink-20151030.ebuild

index 69a205c9d16a40eb7775dddf62b49aeca8fdea77..d30ac89460964a03daf983261ba07a77dfcf8964 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -46,7 +46,7 @@ src_configure() {
 src_install() {
        default
 
-       use doc && dodoc "${WORKDIR}"/prelink.pdf
+       use doc && dodoc "${DISTDIR}"/prelink.pdf
 
        insinto /etc
        doins doc/prelink.conf