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
commit8764afc2d1f6de388d3ff6434c0ff8425fb10100 (patch)
treed660ea1f635d99faef5247b09888bb404612db4c /eclass/toolchain.eclass
parentcleanup ebuild (diff)
downloadgentoo-2-8764afc2d1f6de388d3ff6434c0ff8425fb10100.tar.gz
gentoo-2-8764afc2d1f6de388d3ff6434c0ff8425fb10100.tar.bz2
gentoo-2-8764afc2d1f6de388d3ff6434c0ff8425fb10100.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 {} \;