summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-05-21 22:26:57 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-05-21 22:27:56 +0900
commitc80b9ea038310449fd9eaea9f242e65aa7b00926 (patch)
treeb0f2bff88a98d813e46db7434c19ef38903876f2 /sys-libs/readline
parentwww-apache/mod_limitipconn: Cleanup due to bug #55572 (diff)
downloadgentoo-c80b9ea038310449fd9eaea9f242e65aa7b00926.tar.gz
gentoo-c80b9ea038310449fd9eaea9f242e65aa7b00926.tar.bz2
gentoo-c80b9ea038310449fd9eaea9f242e65aa7b00926.zip
sys-libs/readline: rework --docdir flag for automatic prefix support.
cf. commit b9188242904 for sys-devel/automake Package-Manager: portage-2.2.28 RepoMan-Options: --force
Diffstat (limited to 'sys-libs/readline')
-rw-r--r--sys-libs/readline/readline-6.3_p8-r2.ebuild4
-rw-r--r--sys-libs/readline/readline-7.0_rc1.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/readline/readline-6.3_p8-r2.ebuild b/sys-libs/readline/readline-6.3_p8-r2.ebuild
index ad21882af27e..48bcf83c5afb 100644
--- a/sys-libs/readline/readline-6.3_p8-r2.ebuild
+++ b/sys-libs/readline/readline-6.3_p8-r2.ebuild
@@ -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)
diff --git a/sys-libs/readline/readline-7.0_rc1.ebuild b/sys-libs/readline/readline-7.0_rc1.ebuild
index da06224cf867..f1e8581947aa 100644
--- a/sys-libs/readline/readline-7.0_rc1.ebuild
+++ b/sys-libs/readline/readline-7.0_rc1.ebuild
@@ -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)