On 2023/01/04 17:35, Laurent Cheylus wrote: > Hi Stuart, > > Le 2023-01-04 17:03, Stuart Henderson a écrit : > > Ports is getting confused between the version in mystuff/ and the main > > ports tree. You can set the priority order in PORTSDIR_PATH (either in > > mk.conf or the command line) but it's perhaps easier to edit the port > > in the main tree (if you want to revert to the ports tree version you > > can always undo any cvs add/rm commands and cvs up -C to refetch > > modified files). > > Thanks, it was my mistake : priority order for ${PORTDIR}/mystuff in > PORTSDIR_PATH. > After redefining it in /etc/mk.conf, my problem is solved : package and > install OK for my neovim port.
btw the downside of that approach is, if you leave a directory around in mystuff/, you can have the opposite problem when trying to build something in the main ports tree (IME that usually shows up when building some unrelated port that depends on the one from mystuff that you were working on months ago and forgot about :)