the *.pc.in files define prefix=/usr where it has to be prefix=${EPREFIX}/usr Patch attached.
Created attachment 214588 [details] blas-atlas.pc.patch pacth
Created attachment 214610 [details, diff] patch for both
Created attachment 214614 [details, diff] corrected patch
I fixed this, thanks