diff options
author | John Mylchreest <johnm@gentoo.org> | 2005-10-10 17:59:03 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2005-10-10 17:59:03 +0000 |
commit | 963a3f1d506c13c1ad56d785decfe558d0405924 (patch) | |
tree | 2473a39a1c9b54b8efe840346ac6b438428a44b5 | |
parent | Fixed Tiger acceleration and compilation on GCC4. (diff) | |
download | historical-963a3f1d506c13c1ad56d785decfe558d0405924.tar.gz historical-963a3f1d506c13c1ad56d785decfe558d0405924.tar.bz2 historical-963a3f1d506c13c1ad56d785decfe558d0405924.zip |
Fixes bug #102004
-rw-r--r-- | eclass/kernel-2.eclass | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 8be19c7e47d1..5cc39b052f8a 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.148 2005/10/07 08:25:04 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.149 2005/10/10 17:59:03 johnm Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -513,13 +513,15 @@ install_sources() { install_manpages() { kernel_is lt 2 5 && return - sed -ie "s#/usr/local/man#${D}/usr/share/man#g" \ - scripts/makeman Documentation/DocBook/Makefile + + local myfiles="Documentation/DocBook/Makefile" + kernel_is lt 2 6 12 && myfiles="scripts/makeman ${myfiles}" + + sed -ie "s#/usr/local/man#${D}/usr/share/man#g" ${myfiles} ebegin "Installing manpages" env -u ARCH make installmandocs eend $? - sed -ie "s#${D}/usr/share/man#/usr/local/man#g" \ - scripts/makeman Documentation/DocBook/Makefile + sed -ie "s#${D}/usr/share/man#/usr/local/man#g" ${myfiles} } # pkg_preinst functions |