dev-util/google-perftools: add prefix support
authorGuilherme Amadio <amadio@gentoo.org>
Thu, 10 Aug 2017 15:47:54 +0000 (17:47 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Thu, 10 Aug 2017 15:48:16 +0000 (17:48 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-util/google-perftools/google-perftools-2.6.1.ebuild

index 48a3be80a5e342695807f6327a79b0bb2ac038d5..708d67991674751cea981a5441d20e7de947cb0d 100644 (file)
@@ -51,8 +51,8 @@ multilib_src_configure() {
        append-flags -fno-strict-aliasing -fno-omit-frame-pointer
 
        econf \
-               --htmldir=/usr/share/doc/${PF}/html \
-               --docdir=/usr/share/doc/${PF} \
+               --htmldir=${EPREFIX}/usr/share/doc/${PF}/html \
+               --docdir=${EPREFIX}/usr/share/doc/${PF} \
                --enable-shared \
                $(use_enable static-libs static) \
                $(use_enable debug debugalloc) \