--- /usr/portage/x11-libs/libX11/libX11-1.0.0-r1.ebuild.old 2006-02-18 19:42:07.000000000 -0500 +++ /usr/portage/x11-libs/libX11/libX11-1.0.0-r2.ebuild 2006-02-18 20:22:58.000000000 -0500 @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.0.0-r1.ebuild,v 1.2 2006/02/14 22:19:40 corsair Exp $ +# $Header: # Must be before x-modular eclass is inherited #SNAPSHOT="yes" @@ -26,6 +26,14 @@ # xorg really doesn't like xlocale disabled. # $(use_enable nls xlocale) +src_unpack() { + x-modular_src_unpack + + # place all man pages and shadow pages in section 3, correcting + # invalid shadow page references to ./man3x/ directory + sed -i -e "s/LIB_MAN_SUFFIX=3x/LIB_MAN_SUFFIX=3/" "${S}/configure" +} + src_install() { x-modular_src_install