On Tuesday, March 21, 2017 5:30:28 PM CET Helmut Jarausch wrote: > Hi, > > I'm trying to generate an ebuild (for sci-libs/opencascade-7.1.0) which > uses cmake as build system. > I have copied the ebuild for opencascade-7.0 from the 'xmw' overlay. > > The ebuild nearly works. But during installation I get the following > error message: > > CMake Error: File > /var/tmp/Big_Tmp/portage/sci-libs/opencascade-7.1.0/work/opencascade-7.1.0_b > uild/ OpenCASCADECompileDefinitionsAndFlags-gentoo.cmake does not exist. > > How can one generate this gentoo-specific cmake file? > > Many thanks for any hints, even for a hint where to ask elsewhere, > > Helmut
did you copy the files for that ebuild as well? There could be a "files" directory in the overlay where you found the ebuild. If yes, copy that directory along. -- Joost