On 2021/07/31 15:37, Alessandro De Laurenzis wrote: > Greetings, > > I'm trying to update math/eigen3 (which makes use of PSEUDO_FLAVORS). > > Even using the version currently in the tree, when I try to make the > package, the following error is issued: > > > $ make package > > make: don't know how to make > > /usr/ports/packages/amd64/all//eigen3-3.2.2p5.tgz (prerequisite of: > > _internal-package-only) > > Stop in . > > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2623 > > '_internal-package') > > *** Error 2 in /usr/ports/math/eigen3 > > (/usr/ports/infrastructure/mk/bsd.port.mk:2602 'package') > > Could you please give me some hints? I read the FAQ (probably not very > carefully, I have to admit...), but I didn't find anything relevant for this > specific problem. > > Cheers > > -- > Alessandro De Laurenzis > [mailto:jus...@atlantide.mooo.com] > Web: http://www.atlantide.mooo.com > LinkedIn: http://it.linkedin.com/in/delaurenzis >
Check that whatever you use for gaining privs during ports building is configured to pass the environment through. i.e. SUDO=sudo -E or if you use doas then make sure it has "keepenv".