On 2023/01/04 16:58, Laurent Cheylus wrote: > Hi, > > I'm trying to update editors/neovim port with the latest version 0.8.2. > > Build on current/amd64 is OK but I have an error with make package : > > $ make package > `/usr/obj/ports/neovim-0.8.2/fake-amd64/.fake_done' is up to date. > Reading existing plist for neovim-0.8.2 > Writing /usr/obj/ports/neovim-0.8.2/fake-amd64/debug-pkg/Makefile.new > Writing /usr/obj/ports/neovim-0.8.2/fake-amd64/debug-pkg/PLIST > Renaming /usr/obj/ports/neovim-0.8.2/fake-amd64/debug-pkg/Makefile.new to > Makefile > > Extracting debug info from > > /usr/obj/ports/neovim-0.8.2/fake-amd64/usr/local/bin/nvim > Installing /usr/ports/mystuff/editors/neovim/pkg/README as ^^^^^^^ > /usr/obj/ports/neovim-0.8.2/fake-amd64/usr/local/share/doc/pkg-readmes/neovim > ===> Building package for neovim-0.8.2 > Create /home/fox/packages/amd64/all/neovim-0.8.2.tgz > Creating package neovim-0.8.2 > Creating package debug-neovim-0.8.2 > checking dependencies|editors/neovim > Error: Dependency = doesn't match FULLPKGNAME: neovim-0.8.1 > checksumming... > pkg_create: can't continue
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).