Created attachment 410606 [details] ebuild Wrong file reference in: /usr/include/petsc/conf/variables line 117 : orginal line: include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables correct line: /usr/include/petsc/linux-gnu-cxx-opt/conf/petscvariables with PETSC_ARCH=linux-gnu-cxx-opt and PETSC_DIR=/usr/include/petsc these files is treated in the ebuilds src_install(). So it works for me when I change line 117 in /usr/include/petsc/conf/variables.
Created attachment 410608 [details] emerge --info
(In reply to Marius N Sletten from comment #0) > Created attachment 410606 [details] > ebuild > > Wrong file reference in: > /usr/include/petsc/conf/variables line 117 : > > orginal line: > include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables > > correct line: > /usr/include/petsc/linux-gnu-cxx-opt/conf/petscvariables > > with > PETSC_ARCH=linux-gnu-cxx-opt > and > PETSC_DIR=/usr/include/petsc > > these files is treated in the ebuilds src_install(). > > So it works for me when I change line 117 in > /usr/include/petsc/conf/variables. Correct line: include ${PETSC_DIR}/${PETSC_ARCH}/conf/petscvariables
From the ebuild: src_install() { ... doins ${PETSC_ARCH}/lib/${PN}/conf/{petscrules,petscvariables,RDict.db} while moving files around inside the package it might be tricky to compile other packages depending on petsc as libmash
libmesh at http://libmesh.github.io/index.html
I've fixed the include in petsc-3.6.4 (pushed to github, should be fully synced to the overlay in the next days). Please test :-) commit 4c50902cb7f54cf48e7c30b835cfd2c47ffdae57 Author: Matthias Maier <tamiko@gentoo.org> Date: Thu Apr 21 22:12:27 2016 -0500 sci-mathematics/petsc: version bump to 3.6.4, fix bug #559172 Package-Manager: portage-2.2.26