The ebuild for package dev-lisp/cmucl-bin has a couple of flaws: (the line numbers are from cmucl-bin-18d.ebuild) 1) it does not install the man pages which come with the package cmucl-18d-x86-linux.tar.bz2. You can verify this by doing "qpkg -l cmucl-bin" or trying "man cmucl" or "man lisp" which you could normally assume to work. Solution: Modify the ebuild /usr/portage/dev-lisp/cmucl-bin/cmucl-bin-18d.ebuild to: - add the functionality of installing files man/man1/cmucl.1 and man/man1/lisp.1 to /usr/share/man/man1 2) (line 23) it patches and installs the script "sample-wrapper" with name "cmucl" into /usr/bin. For consistency, this script should install the wrapper with name "lisp", because there is a manual page lisp(1). Having two distinct names, /usr/bin/cmucl (which is, actually, a wrapper for /opt/cmucl/bin/lisp (*)), and /usr/share/man/lisp.1 (which talks about the binary) is confusing. Solution: Modify the ebuild /usr/portage/dev-lisp/cmucl-bin/cmucl-bin-18d.ebuild to: man/man1/lisp.1 into /usr/share/man/man1 - change the occurrences of "cmucl" on lines 23 and 25 to "lisp" (*) This binary cannot be run by the user directly without setting the environment variable CMUCLLIB, because the binary thinks that cmucl is under /usr/local/. Consequently, the ebuild does not add the PATH /opt/cmucl/bin/ into /etc/env.d. This seems the right thing to do. As a side note, there also a source package for cmucl so that it can be compiled and installed into /usr/ where it belongs. (Right?) The source also comes with a nice CLUCL User Manual, which might want to be installed into /usr/share/doc/cmucl or similar Only problem is, cmucl written in common lisp, so it will have to be compiled with itself, after which the useless binary package could be removed. Perhaps I'll do this myself one day, when I know more of the ebuild system :)
Regarding the above comment: The line "man/man1/lisp.1 into /usr/share/man/man1" in the solution for the flaw number 2 should not be there (Yes, I should proofread my bug reports more carefully)
Fixed. Available as dev-lisp/cmucl-bin-18d-r1