===> Building for nagios-plugin-dnsrbl-0.4
clang -pipe -Os  -c check_dnsrbl.c
check_dnsrbl.c:478:28: error: use of undeclared identifier 'NS_MAXMSG'
        unsigned char ans4[NS_MAXMSG + 1];
                           ^
check_dnsrbl.c:481:28: error: use of undeclared identifier 'NS_MAXMSG'
        unsigned char ans6[NS_MAXMSG + 1];
                           ^
check_dnsrbl.c:488:34: error: use of undeclared identifier 'C_IN'
        anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1);
                                        ^
check_dnsrbl.c:488:40: error: use of undeclared identifier 'T_A'
        anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1);
                                              ^
check_dnsrbl.c:488:51: error: use of undeclared identifier 'NS_MAXMSG'
        anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1);
                                                         ^
check_dnsrbl.c:501:41: error: use of undeclared identifier 'T_A'
                        if ((rr.rdlength != 4) ||(rr.type != T_A))
                                                             ^
check_dnsrbl.c:525:34: error: use of undeclared identifier 'C_IN'
        anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1);
                                        ^
check_dnsrbl.c:525:40: error: use of undeclared identifier 'T_AAAA'
        anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1);
                                              ^
check_dnsrbl.c:525:54: error: use of undeclared identifier 'NS_MAXMSG'
        anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1);
                                                            ^
check_dnsrbl.c:539:43: error: use of undeclared identifier 'T_AAAA'
                        if ((rr.rdlength != 16) || (rr.type != T_AAAA))
                                                               ^
check_dnsrbl.c:620:28: error: use of undeclared identifier 'NS_MAXMSG'
        unsigned char ans4[NS_MAXMSG + 1];
                           ^
check_dnsrbl.c:647:39: error: use of undeclared identifier 'C_IN'
        anslen4 = res_nquery(res, queryname, C_IN, T_A, 
                                             ^
check_dnsrbl.c:647:45: error: use of undeclared identifier 'T_A'
        anslen4 = res_nquery(res, queryname, C_IN, T_A, 
                                                   ^
check_dnsrbl.c:648:15: error: use of undeclared identifier 'NS_MAXMSG'
                             ans4, NS_MAXMSG + 1);
                                   ^
check_dnsrbl.c:669:41: error: use of undeclared identifier 'T_A'
                        if ((rr.rdlength != 4) ||(rr.type != T_A))
                                                             ^
15 errors generated.
*** [check_dnsrbl.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl