sys-devel/gettext: --docdir flag for automatic prefix support.
authorBenda Xu <heroxbd@gentoo.org>
Wed, 25 May 2016 12:23:04 +0000 (21:23 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Wed, 25 May 2016 12:23:28 +0000 (21:23 +0900)
  cf. commit b9188242904 for sys-devel/automake

Package-Manager: portage-2.2.28

sys-devel/gettext/gettext-0.19.7.ebuild

index aeee7ea07478fbc7f46beebd004b09a70cd3de24..4881aa47a39e407d507d59c9af004b8eb90afe7d 100644 (file)
@@ -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