--- /usr/portage/sys-libs/readline/readline-5.0-r1.ebuild Thu Jan 13 03:38:54 2005 +++ readline-5.0-r1.ebuild Sun Jan 30 19:49:47 2005 @@ -14,7 +14,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="ppc-macos ~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" IUSE="" # We must be certain that we have a bash that is linked @@ -60,6 +60,13 @@ docinto ps dodoc doc/*.ps dohtml -r doc + + # history(3) is MacOS's manpage for editline. We can delete the file as + # below since we are keeping the .gz. man knows to show both. + if (use macos || use ppc-macos); then + rm ${D}/usr/share/man/man3/history.3 || die "Unable to remove conflicting manpage from the image." + einfo "Not installing /usr/share/man/man3/history.3 on MacOS" + fi # Backwards compatibility #29865 if [ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ] ; then