sys-libs/readline: rework --docdir flag for automatic prefix support.
authorBenda Xu <heroxbd@gentoo.org>
Sat, 21 May 2016 13:26:57 +0000 (22:26 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sat, 21 May 2016 13:27:56 +0000 (22:27 +0900)
  cf. commit b9188242904 for sys-devel/automake

Package-Manager: portage-2.2.28
RepoMan-Options: --force

sys-libs/readline/readline-6.3_p8-r2.ebuild
sys-libs/readline/readline-7.0_rc1.ebuild

index ad21882af27e2b9b43de1fc58699539c9d84c5ee..48bcf83c5afb0edffafa2b073f2e19e1257ed6eb 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$
 
@@ -107,7 +107,7 @@ multilib_src_configure() {
        ECONF_SOURCE=${S} \
        econf \
                --cache-file="${BUILD_DIR}"/config.cache \
-               --docdir=/usr/share/doc/${PF} \
+               --docdir='$(datarootdir)'/doc/${PF} \
                --with-curses \
                $(use_enable static-libs static)
 
index da06224cf8671f74f89a674f73dc8295031df71a..f1e8581947aade0232069c157546d282665ab312 100644 (file)
@@ -108,7 +108,7 @@ multilib_src_configure() {
        ECONF_SOURCE=${S} \
        econf \
                --cache-file="${BUILD_DIR}"/config.cache \
-               --docdir=/usr/share/doc/${PF} \
+               --docdir='$(datarootdir)'/doc/${PF} \
                --with-curses \
                $(use_enable static-libs static)