If set `PORTAGE_TMPDIR=/var/build' (or `builddir = ${ROOT}/var/build/paludis' for paludis users) or anything containing `/build/', then emerge of allegro-4.4.1.1-r1 fails when trying to install HTML documentation. Reproducible: Always Steps to Reproduce: 1. Create portage writable /var/build 2. Set PORTAGE_TMPDIR=/var/build 3. Emerge allegro-4.4.1.1-r1 Actual Results: Emerge fails with error message: !!! Don't know what to do with 'docs/html/*.html' Expected Results: Install fine;) The failure obviously happens during the `dohtml' command of src_install(), because there are no *.html files in `doc/html'. The *.html files are mistakenly built in `doc/build' when building in `/var/build' or any path containing `/build/' part. It is definitely a strange upstream bug in the cmake configure process, because it happens even if I build allegro by hand in e.g.`/home/user/build'.
It should be fixed now. Thanks for report.