Problem overriding ports with portshaker.
hartzell at alerce.com
Wed Sep 25 16:18:46 UTC 2019
Romain Tartière writes:
> Can you try setting PORTSDIR to your target ports tree, e.g.
> % sudo env PORTSDIR=/usr/local/poudriere/ports/default portshaker -M
Setting PORTSDIR fixes it for me (different directory, but it works).
> My guess is that since Mk/bsd.port.mk was not found, ARCH is not set and
> the Makefile is malformed.
> If you confirm it fixes your issue, I'll commit something to do this
> automagically. It does not really make sense to not set PORTSDIR to the
> target ports tree IMO…
I wasn't aware of PORTSDIR, I'm a long time ports user but this is my
first foray into not simply using the stock FreeBSD ports tree.
I assumed (!!!) that portshaker knew everything that it needed to know
about where the trees were and was doing all of the magic for me.
Thanks for the help!
More information about the freebsd-questions