diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-01-15 16:40:12 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-01-15 16:40:12 +0000 |
commit | 710639e03bf5def87c26193b98b88ad53f36bee8 (patch) | |
tree | 444535f34fd93da83d43a230d9f0221651223f3b /eclass/autotools-utils.eclass | |
parent | Removing PHP 5.2 only ebuilds/packages (diff) | |
download | historical-710639e03bf5def87c26193b98b88ad53f36bee8.tar.gz historical-710639e03bf5def87c26193b98b88ad53f36bee8.tar.bz2 historical-710639e03bf5def87c26193b98b88ad53f36bee8.zip |
Improve the --docdir configure grep.
Diffstat (limited to 'eclass/autotools-utils.eclass')
-rw-r--r-- | eclass/autotools-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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} ) |