sci-libs/lapack-reference doesn't get prefix'd when it's ecopied. Reproducible: Always Steps to Reproduce: 1. emerge sci-libs/lapack-reference 2. 3. Actual Results: several files are being installed outside the prefix Expected Results: successful emerge. --- ** FIX ** edit /path/to/your/overlay/sci-libs/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild and change line 60 from this -> --libdir="/usr/$(get_libdir)/lapack/reference" \ to this -> --libdir="${EPREFIX}/usr/$(get_libdir)/lapack/reference" \ save, exit, manifest the modified ebuild and --resume your emerge.
this needs app-admin/eselect-lapack
I added this today, but there still is a macosx issue that needs to be resolved in another bug.