summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-01-15 16:40:12 +0000
committerMichał Górny <mgorny@gentoo.org>2012-01-15 16:40:12 +0000
commit710639e03bf5def87c26193b98b88ad53f36bee8 (patch)
tree444535f34fd93da83d43a230d9f0221651223f3b /eclass
parentRemoving PHP 5.2 only ebuilds/packages (diff)
downloadhistorical-710639e03bf5def87c26193b98b88ad53f36bee8.tar.gz
historical-710639e03bf5def87c26193b98b88ad53f36bee8.tar.bz2
historical-710639e03bf5def87c26193b98b88ad53f36bee8.zip
Improve the --docdir configure grep.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/autotools-utils.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index e92db66ad013..4c86957f091f 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.87 2012/01/15 14:13:46 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.88 2012/01/15 16:40:12 mgorny Exp $
+
+ 15 Jan 2012; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
+ Improve the --docdir configure grep.
15 Jan 2012; Ulrich Müller <ulm@gentoo.org> cdrom.eclass:
New variable CDROM_DISABLE_PROPERTIES. Set PROPERTIES only if this is unset.
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index e7b617ab70da..d14061d8be62 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.41 2012/01/15 14:05:14 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.42 2012/01/15 16:40:12 mgorny Exp $
# @ECLASS: autotools-utils.eclass
# @MAINTAINER:
@@ -398,7 +398,7 @@ autotools-utils_src_configure() {
local econfargs=()
_check_build_dir
- if "${ECONF_SOURCE}"/configure --help 2>&1 | grep docdir; then
+ if "${ECONF_SOURCE}"/configure --help 2>&1 | grep '^ *--docdir='; then
econfargs+=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
)