summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-02 21:03:39 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-02 21:03:39 +0000
commit1759694094bed88edbc606a4ef18309bbe94fc05 (patch)
tree03edcc5867389659c661ecbc98a07a9076fbf655 /eclass/toolchain.eclass
parentcleanup ebuild (diff)
downloadhistorical-1759694094bed88edbc606a4ef18309bbe94fc05.tar.gz
historical-1759694094bed88edbc606a4ef18309bbe94fc05.tar.bz2
historical-1759694094bed88edbc606a4ef18309bbe94fc05.zip
find the C++ man page dir dynamically to handle gcc-4.3+ #273654 by David Flogeras
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 4cd5f508e64d..c4bb81c47900 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.483 2011/11/30 23:53:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.484 2011/12/02 21:03:39 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1787,7 +1787,7 @@ toolchain_src_install() {
rm -rf "${D}"/usr/share/{man,info}
rm -rf "${D}"${DATAPATH}/{man,info}
else
- local cxx_mandir=${WORKDIR}/build/${CTARGET}/libstdc++-v3/docs/doxygen/man
+ local cxx_mandir=$(find "${WORKDIR}/build/${CTARGET}/libstdc++-v3" -name man)
if [[ -d ${cxx_mandir} ]] ; then
# clean bogus manpages #113902
find "${cxx_mandir}" -name '*_build_*' -exec rm {} \;