+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dynipclient-3.00nb2/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dynipclient-3.00nb2/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for dynipclient-3.00nb2
cd /home/pbulk/build/net/dynipclient/work/dynip_3.00 && ./Configure freebsd /opt/local/bin /opt/local/etc  /opt/local/man
Compiling FreeBSD target
===== Starting Build =====
rm -f *.o
gcc -O2 -DFREEBSD -DCFGDIR=\"/opt/local/etc\" -c dynipclient.c
In file included from dynipclient.c:56:
dynipclient.h: In function 'terminate':
dynipclient.h:144:1: warning: implicit declaration of function 'profSetEntryInt' [-Wimplicit-function-declaration]
  144 | profSetEntryInt("ClientPID",0, achInitFile);
      | ^~~~~~~~~~~~~~~
dynipclient.h: In function 'SMPProcessor':
dynipclient.h:157:12: warning: implicit declaration of function 'sigblock' [-Wimplicit-function-declaration]
  157 | oldblock = sigblock(~0L);
      |            ^~~~~~~~
dynipclient.h:160:22: error: 'FIONREAD' undeclared (first use in this function); did you mean 'UIO_READ'?
  160 | if ((ioctl(socketSI, FIONREAD, (u_int *)&lRet, 0)) != -1 && lRet >= sizeof(SMP))
      |                      ^~~~~~~~
      |                      UIO_READ
dynipclient.h:160:22: note: each undeclared identifier is reported only once for each function it appears in
dynipclient.h:169:33: warning: implicit declaration of function 'profSetEntryString' [-Wimplicit-function-declaration]
  169 |                                 profSetEntryString("DomainActive","No",achInitFile);
      |                                 ^~~~~~~~~~~~~~~~~~
dynipclient.c: In function 'main':
dynipclient.c:137:1: warning: implicit declaration of function 'profInit'; did you mean 'profil'? [-Wimplicit-function-declaration]
  137 | profInit();     /* initialize prof module */
      | ^~~~~~~~
      | profil
dynipclient.c:143:9: warning: implicit declaration of function 'profGetEntryString' [-Wimplicit-function-declaration]
  143 |         profGetEntryString("ClientPIDDirectory", achTemp, sizeof(achTemp), "/tmp", achInitFile);
      |         ^~~~~~~~~~~~~~~~~~
dynipclient.c:166:17: warning: implicit declaration of function 'profGetEntryInt' [-Wimplicit-function-declaration]
  166 | if ((ulKeyID1 = profGetEntryInt("RegCode1", 0L, achInitFile)) == 0L)
      |                 ^~~~~~~~~~~~~~~
dynipclient.c:218:31: error: 'O_ASYNC' undeclared (first use in this function); did you mean 'O_DSYNC'?
  218 | if ((fcntl(socketSI, F_SETFL, O_ASYNC)) == -1)
      |                               ^~~~~~~
      |                               O_DSYNC
dynipclient.c: In function 'closeclient':
dynipclient.c:371:1: warning: implicit declaration of function 'profShutdown'; did you mean 'optShutdown'? [-Wimplicit-function-declaration]
  371 | profShutdown();
      | ^~~~~~~~~~~~
      | optShutdown
*** Error code 1

Stop.
make[2]: stopped making "all" in /home/pbulk/build/net/dynipclient/work/dynip_3.00
===== Build Done =====

Now run 'make install' to install programs
and 'make man' to install man pages