svgalib build fail with portmaster

From: Andy Farkas <>
Date: Wed, 20 Jul 2022 12:05:19 UTC
If I use portmaster to re-build all of my ports it fails at svgalib:

# portmaster -adf
gmake[2]: Leaving directory 

Now run 'make demoprogs' to make the test and demo programs in demos/ 
and threedkit/.
gmake[1]: Leaving directory 
&&  install  -m 0644 keyboard.h kd.h 
====> Compressing man pages (compress-man)

===>>> Creating a backup package for old version svgalib-1.4.3_7
Creating package for svgalib-1.4.3_7
pkg-static: file '/usr/local/bin/dumpreg' is missing
pkg-static: package creation failed

===>>> Package creation failed for svgalib-1.4.3_7!

===>>> Ignore this error  [i]
===>>> Abort update       [a]
===>>> Retry              [r]

===>>> How would you like to proceed? [i]

But if I do it manually it works:

root:~ # cd /usr/ports/graphics/svgalib/
root:/usr/ports/graphics/svgalib # make clean ; make all ; make install
===>  Installing for svgalib-1.4.3_7
===>  Checking if svgalib is already installed
===>   Registering installation for svgalib-1.4.3_7
Installing svgalib-1.4.3_7...
===>   NOTICE:
The svgalib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be 
removed in
the future. To volunteer to maintain this port, please create an issue at:

More information about port maintainership is available at:

root@mater:/usr/ports/graphics/svgalib #

What am I doing wrong?