Specifically, while trying to build wmakerconf, I get the following error:
/usr/pkgsrc/wm/wmakerconf/work/.buildlink/include/glib-2.0/glib/gfileutils.h:163:14: note: declared here
 const gchar *g_basename         (const gchar *file_name);
              ^~~~~~~~~~~
*** Error code 1
Stop.
**************************************************************************************
I'm looking at the code, and there appears to be a error macro for the "g_basename" function which has been replaced by "g_path_get_basename", after 2.2 in glib.  I'm not comfortable trying to change this.  Is there a maintainer for "wmakerconf?"