Missing file in ports-mgmt/pkg

From: D'Arcy Cain <darcy_at_druid.net>
Date: Fri, 20 Aug 2021 13:25:26 UTC
I keep getting the following error when creating a package from installed.

  pkg: lstat(/usr/local/lib/compat/pkg): No such file or directory

I fixed this by removing "@dir lib/compat/pkg" from pkg-plist.  Was that the
correct way to fix this or is that file supposed to exist?

D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net

Disclaimer: By sending an email to ANY of my addresses you
are agreeing that:

1.  I am by definition, "the intended recipient".
2.  All information in the email is mine to do with as I see
    fit and make such financial profit, political mileage, or
    good joke as it lends itself to. In particular, I may quote
    it where I please.
3.  I may take the contents as representing the views of
    your company if I so wish.
4.  This overrides any disclaimer or statement of
    confidentiality that may be included or implied in
    your message.