commit:     d416beef957970525830d4f87f5adcadb0b398a4
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 12:23:04 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed May 25 12:23:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d416beef

sys-devel/gettext: --docdir flag for automatic prefix support.

  cf. commit b9188242904 for sys-devel/automake

Package-Manager: portage-2.2.28

 sys-devel/gettext/gettext-0.19.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gettext/gettext-0.19.7.ebuild 
b/sys-devel/gettext/gettext-0.19.7.ebuild
index aeee7ea..4881aa4 100644
--- a/sys-devel/gettext/gettext-0.19.7.ebuild
+++ b/sys-devel/gettext/gettext-0.19.7.ebuild
@@ -57,7 +57,7 @@ multilib_src_configure() {
        local myconf=(
                # switches common to runtime and top-level
                --cache-file="${BUILD_DIR}"/config.cache
-               --docdir="/usr/share/doc/${PF}"
+               --docdir="\$(datarootdir)/doc/${PF}"
 
                # Emacs support is now in a separate package
                --without-emacs

Reply via email to